bcma: unregister gpios before unloading bcma
authorHauke Mehrtens <[email protected]>
Sun, 3 Feb 2013 22:25:33 +0000 (23:25 +0100)
committerJohn W. Linville <[email protected]>
Mon, 4 Feb 2013 21:46:24 +0000 (16:46 -0500)
commitc50ae9470e542862f782e2d9c106270152bbf3ce
treed9b17d4f6427e7b2bb35a0ecdf08f1891dbcc9e5
parenta5ffbe0a1993a27072742ef7db6cf9839956fce9
bcma: unregister gpios before unloading bcma

This patch unregisters the gpio chip before bcma gets unloaded.

Signed-off-by: Hauke Mehrtens <[email protected]>
Reported-by: Piotr Haber <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/bcma/bcma_private.h
drivers/bcma/driver_gpio.c
drivers/bcma/main.c