regulator: Add regulator voltage range check API
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Jul 2009 15:00:24 +0000 (16:00 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Sep 2009 12:32:38 +0000 (13:32 +0100)
commita7a1ad9066e0266c8a4357ba3dbaeebfb80f531d
tree382d5c8a17a4dd44f3193274710caae7721881f8
parent5ffbd136e6c51c8d1eec7a4a0c5d2180c81aea30
regulator: Add regulator voltage range check API

Simplify checking of support for voltage ranges by providing an API which
wraps the existing count and list operations.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c
include/linux/regulator/consumer.h