summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>2008-04-28 02:14:45 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 08:58:34 -0700
commitd72cbed0c486e3db8b56380635f8e845073ce63a (patch)
tree8739c1078f970a2acdb24fd3f2b94c68c89dd3b5 /drivers/gpio/gpiolib.c
parent438d8908b379b6322fc3b28d45c9ebdddf58bc20 (diff)
downloadblackbird-op-linux-d72cbed0c486e3db8b56380635f8e845073ce63a.tar.gz
blackbird-op-linux-d72cbed0c486e3db8b56380635f8e845073ce63a.zip
gpiolib: i2c/spi drivers: handle rmmod better
Use the newly introduced owner field in struct gpio_chip to protect the current (small) set of non-SOC GPIO drivers from being unloaded while any of their GPIOs are in use. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> [ add mcp23s08 and pcf857x ] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud