kernel_optimize_test/drivers/gpio
Dmitry Baryshkov c557fa3e4c gpio: max7301: fix the race between chip addition and pins reconfiguration
There is a small race and code ugliness in max7301: pins are reconfigured
after the chip is registered.  Swap these calls so that the device is
registered in correct state.

Also this fixes the comile-time warning about unchecked gpiochip_remove.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: Juergen Beisert <j.beisert@pengutronix.de>
Cc: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-16 11:21:40 -07:00
..
bt8xxgpio.c gpio: add bt8xxgpio driver 2008-07-25 10:53:30 -07:00
gpiolib.c gpio: sysfs interface 2008-07-25 10:53:30 -07:00
Kconfig gpio: max732x driver 2008-07-25 10:53:30 -07:00
Makefile gpio: max732x driver 2008-07-25 10:53:30 -07:00
max732x.c gpio: max732x driver 2008-07-25 10:53:30 -07:00
max7301.c gpio: max7301: fix the race between chip addition and pins reconfiguration 2008-10-16 11:21:40 -07:00
mcp23s08.c spi: core and gpio expanders use subsys_init 2008-10-16 11:21:38 -07:00
pca953x.c gpio: sysfs interface 2008-07-25 10:53:30 -07:00
pcf857x.c gpio: sysfs interface 2008-07-25 10:53:30 -07:00