From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Date: Fri, 09 Jun 2017 07:48:45 +0000 Subject: Re: [PATCH 2/2] video: adp8870: move header file out of I2C realm Message-Id: <20170609074845.nd6y7lpi5rzudxod@dell> List-Id: References: <20170521220953.2602-1-wsa@the-dreams.de> <20170521220953.2602-3-wsa@the-dreams.de> <20170609074357.ucztwiqavpvx42b7@dell> In-Reply-To: <20170609074357.ucztwiqavpvx42b7@dell> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Steven Miao , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , adi-buildroot-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org On Fri, 09 Jun 2017, Lee Jones wrote: > On Mon, 22 May 2017, Wolfram Sang wrote: >=20 > > include/linux/i2c is not for client devices. Move the header file to a > > more appropriate location. > >=20 > > Signed-off-by: Wolfram Sang > > --- > > arch/blackfin/mach-bf537/boards/stamp.c | 2 +- > > drivers/video/backlight/adp8870_bl.c | 2 +- > > include/linux/{i2c =3D> platform_data}/adp8870.h | 0 > > 3 files changed, 2 insertions(+), 2 deletions(-) > > rename include/linux/{i2c =3D> platform_data}/adp8870.h (100%) >=20 > Applied, thanks. Scrap that. I can't actually apply these without Steven's Ack. > > diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/ma= ch-bf537/boards/stamp.c > > index 7db90c72bd8ddc..7528148dc4925b 100644 > > --- a/arch/blackfin/mach-bf537/boards/stamp.c > > +++ b/arch/blackfin/mach-bf537/boards/stamp.c > > @@ -1995,7 +1995,7 @@ static struct adp5588_gpio_platform_data adp5588_= gpio_data =3D { > > #endif > > =20 > > #if IS_ENABLED(CONFIG_BACKLIGHT_ADP8870) > > -#include > > +#include > > static struct led_info adp8870_leds[] =3D { > > { > > .name =3D "adp8870-led7", > > diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backl= ight/adp8870_bl.c > > index 21acac90fd773f..058d1def2d1f4b 100644 > > --- a/drivers/video/backlight/adp8870_bl.c > > +++ b/drivers/video/backlight/adp8870_bl.c > > @@ -18,7 +18,7 @@ > > #include > > #include > > =20 > > -#include > > +#include > > #define ADP8870_EXT_FEATURES > > #define ADP8870_USE_LEDS > > =20 > > diff --git a/include/linux/i2c/adp8870.h b/include/linux/platform_data/= adp8870.h > > similarity index 100% > > rename from include/linux/i2c/adp8870.h > > rename to include/linux/platform_data/adp8870.h >=20 --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog