regulator/bq24022: fix bug in is_enabled function
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 28 Apr 2009 11:34:14 +0000 (13:34 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 28 Apr 2009 17:58:08 +0000 (18:58 +0100)
commit030853b7abdd6effb9cb44f29e60d1d7a9592210
tree4f6778f40e56286430039b6904599a46f3212795
parentaa61d558f0f9f8b303b9cab1e51e9886896ba1a3
regulator/bq24022: fix bug in is_enabled function

This seems to be fallout from last October's regulator core rework.
It got noticed only because of recent regulator framework changes.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/bq24022.c