kernel_optimize_test/arch/arm/mach-omap1
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: OMAP1: Remove board support for VoiceBlue board 2015-10-12 10:36:55 -07:00
ams-delta-fiq-handler.S ARM: OMAP1: Change interrupt numbering for sparse IRQ 2015-05-20 09:01:21 -07:00
ams-delta-fiq.c arm: omap: Fix typo in ams-delta-fiq.c 2014-03-20 12:44:02 +01:00
board-ams-delta.c gpio: generic: factor into gpio_chip struct 2016-01-05 11:21:00 +01:00
board-fsample.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-generic.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-h2-mmc.c ARM: OMAP: Split plat/mmc.h into local headers and platform_data 2012-10-15 12:09:43 -07:00
board-h2.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-h2.h
board-h3-mmc.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
board-h3.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-h3.h
board-htcherald.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-innovator.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-nand.c ARM: OMAP1: board files: deduplicate and clean some NAND-related code 2012-04-13 06:34:31 -06:00
board-nokia770.c ARM: SoC: platform support for v4.2 2015-06-26 11:34:35 -07:00
board-osk.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-palmte.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-palmtt.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-palmz71.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-perseus2.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
board-sx1-mmc.c ARM: OMAP: Split plat/mmc.h into local headers and platform_data 2012-10-15 12:09:43 -07:00
board-sx1.c ARM: omap1: Switch to use MULTI_IRQ 2015-05-20 09:01:21 -07:00
clock_data.c ARM: OMAP1: fix USB host on 1710 2013-03-13 04:10:57 -06:00
clock.c ARM: OMAP: Split sram.h to local headers and minimal shared header 2012-10-31 10:14:13 -07:00
clock.h ARM: OMAP: clock: split plat/clkdev_omap.h into OMAP1/2 files 2012-10-18 16:23:30 -07:00
common.h ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
devices.c ARM: OMAP1: Remove duplicated DMA channel definitions 2013-06-18 00:12:34 -07:00
dma.c ARM: OMAP1: Change interrupt numbering for sparse IRQ 2015-05-20 09:01:21 -07:00
fb.c ARM: OMAP: Split fb.c to remove last remaining cpu_is_omap usage 2012-12-17 10:50:40 -08:00
flash.c ARM: OMAP1: Move plat/tc.h to mach/tc.h for omap1 2012-10-17 11:36:40 -07:00
fpga.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
fpga.h ARM: OMAP: Fix relative includes for fpga.h 2012-10-31 15:37:14 -07:00
gpio7xx.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
gpio15xx.c ARM: OMAP1: Fix a bunch of GPIO related section warnings after initdata got corrected 2013-10-18 10:50:51 -07:00
gpio16xx.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
i2c.c ARM: OMAP1: Change interrupt numbering for sparse IRQ 2015-05-20 09:01:21 -07:00
id.c ARM: OMAP: Split plat/cpu.h into local soc.h for mach-omap1 and mach-omap2 2012-10-18 16:23:46 -07:00
io.c ARM: OMAP: Move plat-omap/dma-omap.h to include/linux/omap-dma.h 2012-11-30 08:41:50 -08:00
iomap.h ARM: OMAP1: Remove relative includes 2012-10-31 15:37:14 -07:00
irq.c ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
Kconfig ARM: OMAP1: Remove board support for VoiceBlue board 2015-10-12 10:36:55 -07:00
lcd_dma.c ARM: OMAP1: Remove dma.h 2013-06-18 00:12:34 -07:00
Makefile ARM: OMAP1: Remove board support for VoiceBlue board 2015-10-12 10:36:55 -07:00
Makefile.boot
mcbsp.c ARM: OMAP1: Remove McBSP DMA channel definitions 2013-06-18 00:12:34 -07:00
mmc.h ARM: OMAP: Split plat/mmc.h into local headers and platform_data 2012-10-15 12:09:43 -07:00
mux.c ARM: OMAP1: Fix section mismatch warnings for omap_cfg_reg 2015-05-21 14:50:23 -07:00
ocpi.c omap16xx: Removes fixme no longer needed in ocpi_enable() 2014-07-08 01:15:36 -07:00
opp_data.c ARM: OMAP: clock: split plat/clkdev_omap.h into OMAP1/2 files 2012-10-18 16:23:30 -07:00
opp.h
pm_bus.c arm: omap1: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS 2015-05-12 23:55:38 +02:00
pm.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
pm.h
reset.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
serial.c ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected 2015-05-21 14:50:23 -07:00
sleep.S ARM: OMAP1: Remove relative includes 2012-10-31 15:37:14 -07:00
soc.h ARM: OMAP1: Remove relative includes 2012-10-31 15:37:14 -07:00
sram-init.c ARM: OMAP: Move omap1 specific code to local sram.c 2012-10-31 10:14:14 -07:00
sram.h ARM: OMAP: Split sram.h to local headers and minimal shared header 2012-10-31 10:14:13 -07:00
sram.S ARM: OMAP: Remove remaining includes for mach/io.h 2012-03-06 21:34:38 -06:00
time.c ARM/omap1/time: Migrate to new 'set-state' interface 2015-07-17 08:26:24 +05:30
timer.c ARM: OMAP1: Change interrupt numbering for sparse IRQ 2015-05-20 09:01:21 -07:00
timer32k.c ARM/omap1/timer32: Migrate to new 'set-state' interface 2015-07-17 08:28:39 +05:30
usb.c ARM: OMAP1: fix omap_udc registration 2013-04-08 13:59:51 -07:00