]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
wl1271: propagate set_power's return value
authorOhad Ben-Cohen <ohad@wizery.com>
Wed, 15 Sep 2010 23:22:04 +0000 (01:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Sep 2010 15:04:56 +0000 (11:04 -0400)
commit2cc78ff78c0af502b040d4527212e29e02d3231d
treef056210964e0d5799027f900dec47aa10572599a
parentc1f9a095600e07fefe64eb94eb711f410100824a
wl1271: propagate set_power's return value

Make it possible for the set power method to indicate a
success/failure return value. This is needed to support
more complex power on/off operations such as SDIO
power manipulations.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271.h
drivers/net/wireless/wl12xx/wl1271_io.h
drivers/net/wireless/wl12xx/wl1271_main.c
drivers/net/wireless/wl12xx/wl1271_sdio.c
drivers/net/wireless/wl12xx/wl1271_spi.c