Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (ads1015) move header file out of I2C realm

include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Wolfram Sang and committed by
Guenter Roeck
9010624c 8f05bcc3

+4 -4
+1 -1
Documentation/hwmon/ads1015
··· 40 40 Platform Data 41 41 ------------- 42 42 43 - In linux/i2c/ads1015.h platform data is defined, channel_data contains 43 + In linux/platform_data/ads1015.h platform data is defined, channel_data contains 44 44 configuration data for the used input combinations: 45 45 - pga is the programmable gain amplifier (values are full scale) 46 46 0: +/- 6.144 V
+1 -1
MAINTAINERS
··· 478 478 S: Maintained 479 479 F: Documentation/hwmon/ads1015 480 480 F: drivers/hwmon/ads1015.c 481 - F: include/linux/i2c/ads1015.h 481 + F: include/linux/platform_data/ads1015.h 482 482 483 483 ADT746X FAN DRIVER 484 484 M: Colin Leroy <colin@colino.net>
+1 -1
drivers/hwmon/ads1015.c
··· 34 34 #include <linux/of_device.h> 35 35 #include <linux/of.h> 36 36 37 - #include <linux/i2c/ads1015.h> 37 + #include <linux/platform_data/ads1015.h> 38 38 39 39 /* ADS1015 registers */ 40 40 enum {
+1 -1
drivers/iio/adc/ti-ads1015.c
··· 23 23 #include <linux/mutex.h> 24 24 #include <linux/delay.h> 25 25 26 - #include <linux/i2c/ads1015.h> 26 + #include <linux/platform_data/ads1015.h> 27 27 28 28 #include <linux/iio/iio.h> 29 29 #include <linux/iio/types.h>
include/linux/i2c/ads1015.h include/linux/platform_data/ads1015.h