ssb: unregister gpios before unloading ssb
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 3 Feb 2013 22:25:34 +0000 (23:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Feb 2013 21:46:24 +0000 (16:46 -0500)
commit600485edaef65d89f5c44ce62baa7cac961cd50d
tree9a651099ddf829c8cd0746f3b00b53744804df41
parentc50ae9470e542862f782e2d9c106270152bbf3ce
ssb: unregister gpios before unloading ssb

This patch unregisters the gpio chip before ssb gets unloaded.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/driver_gpio.c
drivers/ssb/main.c
drivers/ssb/ssb_private.h