wl1251: add power callback to wl1251_if_operations
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 3 Nov 2010 22:13:47 +0000 (00:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:27:00 +0000 (13:27 -0500)
commitcb7bbc7a5535ab2333915b83391e1d846a0914df
tree07d88b56c87b9a1ff2764b25d47c102169d665ca
parentf81c1f48384d398dbe8f6c5b10377c7158086791
wl1251: add power callback to wl1251_if_operations

Call interface specific power callback before calling board specific
one. Also allow that callback to fail. This is how it's done for
wl1271 and will be used for runtime_pm support.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl1251/main.c
drivers/net/wireless/wl1251/sdio.c
drivers/net/wireless/wl1251/spi.c
drivers/net/wireless/wl1251/wl1251.h