wl1251: remove wl1251_ps_set_elp function
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 6 Mar 2011 17:23:36 +0000 (19:23 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 1 Jun 2011 12:53:01 +0000 (15:53 +0300)
commit84987a391f4e69a4d287fd551feac1d949570790
treeb589e941f5c0ea8e166e8aff1df392e30e52a833
parent5d6d30819276181e9ce16961ce289dfc9cdf4daf
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