summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ltc4245.c
diff options
context:
space:
mode:
authorWolfram Sang2017-05-21 22:34:41 +0200
committerGuenter Roeck2017-06-12 02:08:19 +0200
commit8116e8dd564fcbadf9f3697dcd0c3d37c049fb45 (patch)
tree4e794e033be923a7a68e2bd26be08900b17e29c9 /drivers/hwmon/ltc4245.c
parenthwmon: (ds620) move header file out of I2C realm (diff)
downloadkernel-qcow2-linux-8116e8dd564fcbadf9f3697dcd0c3d37c049fb45.tar.gz
kernel-qcow2-linux-8116e8dd564fcbadf9f3697dcd0c3d37c049fb45.tar.xz
kernel-qcow2-linux-8116e8dd564fcbadf9f3697dcd0c3d37c049fb45.zip
hwmon: (ltc4245) 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>
Diffstat (limited to 'drivers/hwmon/ltc4245.c')
-rw-r--r--drivers/hwmon/ltc4245.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ltc4245.c b/drivers/hwmon/ltc4245.c
index 4680d89556ce..082f0a0bd8a0 100644
--- a/drivers/hwmon/ltc4245.c
+++ b/drivers/hwmon/ltc4245.c
@@ -23,7 +23,7 @@
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
-#include <linux/i2c/ltc4245.h>
+#include <linux/platform_data/ltc4245.h>
/* Here are names of the chip's registers (a.k.a. commands) */
enum ltc4245_cmd {