regulator: gpio-regulator: Add ifdef CONFIG_OF guard for regulator_gpio_of_match
authorAxel Lin <axel.lin@ingics.com>
Tue, 4 Dec 2012 02:32:05 +0000 (10:32 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Dec 2012 06:22:52 +0000 (15:22 +0900)
commitec4f7b88b4a89253ec922d48f77b269ce5cffc2c
tree41350fe383803537cc6ccb7aa9edc44b20e3cc85
parent216f2b9c95ac6e4f00b08df807bc4454434a9afb
regulator: gpio-regulator: Add ifdef CONFIG_OF guard for regulator_gpio_of_match

Use of_match_ptr and add ifdef CONFIG_OF guard for regulator_gpio_of_match.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/gpio-regulator.c