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>
Mon, 17 Jan 2011 17:19:43 +0000 (19:19 +0200)
commit25f470c2dc8011c7ce09f71d83558dd8a75301b7
tree8c79de623ab9603fd0998f0f988c2971ed75b5cf
parentb397d0afa268d6791feaef64bd5eda170382ef81
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