regulator: da903x: Don't read/write to DA9030_INVAL/DA9034_INVAL address
authorAxel Lin <axel.lin@gmail.com>
Thu, 7 Jun 2012 02:38:30 +0000 (10:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Jun 2012 23:29:47 +0000 (07:29 +0800)
commitee3ed6effd8cc4c0cbfa35307cfc5fcec75b5e12
treea61eee540cfac1df79bd1988b149d8c204879726
parent985f769c89aedcae2981080051fc85b4ed035a9b
regulator: da903x: Don't read/write to DA9030_INVAL/DA9034_INVAL address

For fixed voltage, DA9030_LDO13 and DA9034_LDO5, the info->vol_reg is
DA9030_INVAL/DA9034_INVAL.
It does not make sense to read/write to DA9030_INVAL/DA9034_INVAL address.

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