]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: remove wl1251_ps_set_elp function
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 6 Mar 2011 17:23:36 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Mar 2011 19:15:35 +0000 (14:15 -0500)
commit963fa96581136013a3cf133524b4664298f36599
tree4e553cfb5bb9e9b3edf9aef0984a892bb25e4e17
parentccceb0fb5a52b0142b2226c217342b9163da7346
wl1251: remove wl1251_ps_set_elp function

wl1251_ps_set_elp() only does acx_sleep_auth call and takes the chip
from/to ELP, however all callers of wl1251_ps_set_mode() have already
taken the chip out of ELP and puts it back to ELP when they finish.
This makes ELP calls (and register writes they result in) superfluous.

So remove wl1251_ps_set_elp function and call acx_sleep_auth directly.

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/ps.c