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>
Sat, 5 Mar 2011 21:18:01 +0000 (23:18 +0200)
commit4efe11975587a035ba1f190177f8887349deb7cc
treef5353cc1371a5f792aa5dd0e3f93b543aa81d56d
parent4213d143b82b07dfc5cd9a05c2693f15c087e5d4
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