Commit 9010624c authored by Wolfram Sang's avatar Wolfram Sang Committed by Guenter Roeck

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: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8f05bcc3
...@@ -40,7 +40,7 @@ By default all inputs are exported. ...@@ -40,7 +40,7 @@ By default all inputs are exported.
Platform Data Platform Data
------------- -------------
In linux/i2c/ads1015.h platform data is defined, channel_data contains In linux/platform_data/ads1015.h platform data is defined, channel_data contains
configuration data for the used input combinations: configuration data for the used input combinations:
- pga is the programmable gain amplifier (values are full scale) - pga is the programmable gain amplifier (values are full scale)
0: +/- 6.144 V 0: +/- 6.144 V
......
...@@ -478,7 +478,7 @@ L: linux-hwmon@vger.kernel.org ...@@ -478,7 +478,7 @@ L: linux-hwmon@vger.kernel.org
S: Maintained S: Maintained
F: Documentation/hwmon/ads1015 F: Documentation/hwmon/ads1015
F: drivers/hwmon/ads1015.c F: drivers/hwmon/ads1015.c
F: include/linux/i2c/ads1015.h F: include/linux/platform_data/ads1015.h
ADT746X FAN DRIVER ADT746X FAN DRIVER
M: Colin Leroy <colin@colino.net> M: Colin Leroy <colin@colino.net>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <linux/of_device.h> #include <linux/of_device.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/i2c/ads1015.h> #include <linux/platform_data/ads1015.h>
/* ADS1015 registers */ /* ADS1015 registers */
enum { enum {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/i2c/ads1015.h> #include <linux/platform_data/ads1015.h>
#include <linux/iio/iio.h> #include <linux/iio/iio.h>
#include <linux/iio/types.h> #include <linux/iio/types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment