[PATCH 0/3] gpio: move include files out of include/linux/i2c

From: Wolfram Sang
Date: Sun May 21 2017 - 17:58:01 EST


It doesn't make sense to use include/linux/i2c for client drivers which may in
fact rather be hwmon or input or whatever devices. As a result, I want to
deprecate include/linux/i2c for good. This series moves the include files to a
better location, largely include/linux/platform_data because that is what most
of the moved include files contain.

I prefer the series to go upstream via the subsystem tree; if you prefer that I
take it via I2C, just let me know.

No runtime testing because of no HW, but buildbot is happy with this series at
least. A branch can be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/platform_data

Thanks and kind regards,

Wolfram


Wolfram Sang (3):
gpio: max732x: move header file out of I2C realm
gpio: pcf857x: move header file out of I2C realm
gpio: adp5588: move header file out of I2C realm

arch/arm/mach-davinci/board-da830-evm.c | 2 +-
arch/arm/mach-davinci/board-dm644x-evm.c | 2 +-
arch/arm/mach-davinci/board-dm646x-evm.c | 2 +-
arch/arm/mach-pxa/balloon3.c | 2 +-
arch/arm/mach-pxa/littleton.c | 2 +-
arch/arm/mach-pxa/stargate2.c | 2 +-
arch/blackfin/mach-bf537/boards/stamp.c | 2 +-
arch/mips/ath79/mach-pb44.c | 2 +-
drivers/gpio/gpio-adp5588.c | 2 +-
drivers/gpio/gpio-max732x.c | 2 +-
drivers/gpio/gpio-pcf857x.c | 2 +-
drivers/input/keyboard/adp5588-keys.c | 2 +-
include/linux/{i2c => platform_data}/adp5588.h | 0
include/linux/{i2c => platform_data}/max732x.h | 0
include/linux/{i2c => platform_data}/pcf857x.h | 0
15 files changed, 12 insertions(+), 12 deletions(-)
rename include/linux/{i2c => platform_data}/adp5588.h (100%)
rename include/linux/{i2c => platform_data}/max732x.h (100%)
rename include/linux/{i2c => platform_data}/pcf857x.h (100%)

--
2.11.0