diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-01 01:11:07 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 01:30:52 +0100 |
commit | ec400c9fab99d16a491cea17d27d0c6a5780b97c (patch) | |
tree | 38516e6244d3ec0b68e52a5679f0b4b9517d71db /drivers/misc/fsa9480.c | |
parent | lis3: remove the references to the global variable in core driver (diff) | |
download | linux-ec400c9fab99d16a491cea17d27d0c6a5780b97c.tar.xz linux-ec400c9fab99d16a491cea17d27d0c6a5780b97c.zip |
lis3lv02d: make regulator API usage unconditional
The regulator API contains a range of features for stubbing itself out
when not in use and for transparently restricting the actual effect of
regulator API calls where they can't be supported on a particular system
so that drivers don't need to individually implement this. Simplify the
driver slightly by making use of this idiom.
The only in tree user is ecovec24 which does not use the regulator API.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Éric Piel <eric.piel@tremplin-utc.net>
Cc: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/fsa9480.c')
0 files changed, 0 insertions, 0 deletions