regulator: ab3100: Use rdev_get_drvdata() rather than use reg->reg_data driectly
authorAxel Lin <axel.lin@gmail.com>
Thu, 5 Jul 2012 01:38:15 +0000 (09:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Jul 2012 12:34:39 +0000 (13:34 +0100)
commit6c3b956b94a6547d26c805db7c505429e54e7573
tree49408a124ad355acc23770dce9173916cd850c1b
parentf8568cbd9459b87d989efdd9c67a9dd9c6ebef3b
regulator: ab3100: Use rdev_get_drvdata() rather than use reg->reg_data driectly

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab3100.c