wl1251: remove wl1251_ps_set_elp function
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 27 Oct 2010 10:44:11 +0000 (13:44 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 31 Oct 2010 20:10:34 +0000 (22:10 +0200)
commitfde1aa2a73fe0ac75be1559157f8361152db85f5
treef4958f47d13356571125fc2d67019f0def245ade
parent4ab8e441ceff56e9ec1d9e74ab1372b4e7e57b76
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>
drivers/net/wireless/wl12xx/wl1251_ps.c