]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c028a9824bf298132ce37e994d11d15abce3b31
tree75f39b6f916a21647499a87298595e3c153caa10
parentb5cce858356331c87bfd573cc3bb02ab508d0649
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