linux/arch/arm/mach-s3c64xx
Linus Walleij 0f4630f372 gpio: generic: factor into gpio_chip struct
The separate struct bgpio_chip has been a pain to handle, both
by being confusingly similar in name to struct gpio_chip and
for being contained inside a struct so that struct gpio_chip
is contained in a struct contained in a struct, making several
steps of dereferencing necessary.

Make things simpler: include the fields directly into
<linux/gpio/driver.h>, #ifdef:ed for CONFIG_GENERIC_GPIO, and
get rid of the <linux/basic_mmio_gpio.h> altogether. Prefix
some of the member variables with bgpio_* and add proper
kerneldoc while we're at it.

Modify all users to handle the change and use a struct
gpio_chip directly. And while we're at it: replace all
container_of() dereferencing by gpiochip_get_data() and
registering the gpio_chip with gpiochip_add_data().

Cc: arm@kernel.org
Cc: Alexander Shiyan <shc_work@mail.ru>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Olof Johansson <olof@lixom.net>
Cc: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Cc: Rabin Vincent <rabin@rab.in>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-omap@vger.kernel.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: bcm-kernel-feedback-list@broadcom.com
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-01-05 11:21:00 +01:00
..
include/mach ARM: SAMSUNG: remove unused DMA infrastructure 2015-01-24 13:09:54 +09:00
ata-core.h ARM: SAMSUNG: local ata-core header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
backlight.h ARM: SAMSUNG: local backlight header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
common.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
common.h ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
cpuidle.c ARM: cpuidle: Remove duplicate header inclusion 2015-03-23 18:03:11 +01:00
crag6410.h ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore 2015-03-27 01:58:08 +09:00
dev-audio.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
dev-backlight.c ARM: S3C64XX: Use PWM lookup table for smdk6410 2015-10-13 05:04:22 +09:00
dev-uart.c ARM: S3C64XX: Use common macro to define resources on dev-uart.c 2012-05-12 16:12:26 +09:00
irq-pm.c ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
irq-uart.h ARM: SAMSUNG: local irq-uart header in mach-s3c64xx 2015-07-30 02:00:38 +09:00
Kconfig ARM: SAMSUNG: make local dev-backlight in mach-s3c64xx 2015-07-30 01:48:58 +09:00
mach-anw6410.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-crag6410-module.c ARM: S3C64XX: mach-crag6410-module.c is not modular 2014-02-16 02:05:44 +09:00
mach-crag6410.c gpio: generic: factor into gpio_chip struct 2016-01-05 11:21:00 +01:00
mach-hmt.c ARM: S3C64XX: Use PWM lookup table for mach-hmt 2015-10-13 05:04:22 +09:00
mach-mini6410.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-ncp.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-real6410.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-s3c64xx-dt.c Samsung cleanup for v4.3 2015-08-11 14:59:02 +02:00
mach-smartq5.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-smartq7.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-smartq.c ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
mach-smartq.h
mach-smdk6400.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-smdk6410.c ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
Makefile ARM: SAMSUNG: make local dev-backlight in mach-s3c64xx 2015-07-30 01:48:58 +09:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
onenand-core.h ARM: SAMSUNG: local onenand-core header in mach-s3c64xx 2015-07-30 02:00:47 +09:00
pl080.c ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver 2013-11-24 14:38:24 +00:00
pm.c ARM: S3C64XX: fix building without CONFIG_PM_SLEEP 2015-02-27 05:50:22 +09:00
regs-gpio-memport.h ARM: S3C64XX: make regs-gpio-memport.h local 2013-01-10 10:45:39 -08:00
regs-modem.h ARM: S3C64XX: make regs-modem.h local 2013-01-10 10:45:39 -08:00
regs-srom.h ARM: S3C64XX: make regs-srom.h local 2013-01-10 10:45:39 -08:00
regs-sys.h ARM: S3C64XX: make regs-sys.h local 2013-01-10 10:45:40 -08:00
regs-syscon-power.h ARM: S3C64XX: make regs-syscon-power.h local 2013-01-10 10:45:40 -08:00
regs-usb-hsotg-phy.h ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
s3c6400.c ARM: SAMSUNG: local onenand-core header in mach-s3c64xx 2015-07-30 02:00:47 +09:00
s3c6410.c ARM: SAMSUNG: local onenand-core header in mach-s3c64xx 2015-07-30 02:00:47 +09:00
setup-fb-24bpp.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-i2c0.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-i2c1.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-ide.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-keypad.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-sdhci-gpio.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-spi.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-usb-phy.c ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
sleep.S ARM: pm: samsung: move cpu_suspend into C code 2011-06-24 08:48:44 +01:00
watchdog-reset.h ARM: SAMSUNG: local watchdog-reset header in mach-s3c64xx 2015-07-30 02:00:52 +09:00