staging: iio: tsl2x7x: remove power functions from tsl2X7X_platform_data
authorBrian Masney <masneyb@onstation.org>
Sun, 4 Mar 2018 01:49:31 +0000 (20:49 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 10 Mar 2018 14:20:28 +0000 (14:20 +0000)
commita4a214143ef899a5eb46707f3049f38134d63ccd
tree75f39b6f916a21647499a87298595e3c153caa10
parent9dd6ec17a8b06a75558b00c50676f847f7fa6513
staging: iio: tsl2x7x: remove power functions from tsl2X7X_platform_data

The tsl2X7X_platform_data structure contains the platform_power,
power_on, and power_off function pointers. These power management
functions should not be in the platform data. These functions were
likely used before the regulator framework was put in place. There are
no users of these functions in the mainline kernel.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/light/tsl2x7x.c
drivers/staging/iio/light/tsl2x7x.h