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

backlight: adp8860: 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>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Wolfram Sang and committed by
Lee Jones
8476d6cd 7e715c2d

+2 -2
+1 -1
arch/blackfin/mach-bf537/boards/stamp.c
··· 2047 2047 #endif 2048 2048 2049 2049 #if IS_ENABLED(CONFIG_BACKLIGHT_ADP8860) 2050 - #include <linux/i2c/adp8860.h> 2050 + #include <linux/platform_data/adp8860.h> 2051 2051 static struct led_info adp8860_leds[] = { 2052 2052 { 2053 2053 .name = "adp8860-led7",
+1 -1
drivers/video/backlight/adp8860_bl.c
··· 18 18 #include <linux/slab.h> 19 19 #include <linux/workqueue.h> 20 20 21 - #include <linux/i2c/adp8860.h> 21 + #include <linux/platform_data/adp8860.h> 22 22 #define ADP8860_EXT_FEATURES 23 23 #define ADP8860_USE_LEDS 24 24
include/linux/i2c/adp8860.h include/linux/platform_data/adp8860.h