]> Git Repo - linux.git/commit - drivers/gpio/mcp23s08.c
gpiolib: i2c/spi drivers: handle rmmod better
authorGuennadi Liakhovetski <[email protected]>
Mon, 28 Apr 2008 09:14:45 +0000 (02:14 -0700)
committerLinus Torvalds <[email protected]>
Mon, 28 Apr 2008 15:58:34 +0000 (08:58 -0700)
commitd72cbed0c486e3db8b56380635f8e845073ce63a
tree8739c1078f970a2acdb24fd3f2b94c68c89dd3b5
parent438d8908b379b6322fc3b28d45c9ebdddf58bc20
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 <[email protected]>
[ add mcp23s08 and pcf857x ]
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/gpio/mcp23s08.c
drivers/gpio/pca953x.c
drivers/gpio/pcf857x.c
This page took 0.054604 seconds and 4 git commands to generate.