regulator: tps65910: fix BUG_ON() shown with vrtc regulator
commita9a5659ac61b9e21d17993a6c0fbbeb83e182526
authorAnilKumar Ch <anilkumar@ti.com>
Mon, 15 Oct 2012 12:15:58 +0000 (15 17:45 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Oct 2012 13:17:39 +0000 (17 22:17 +0900)
treeb1bddbbd76680748b84507e03b00262c55877f67
parentddffeb8c4d0331609ef2581d84de4d763607bd37
regulator: tps65910: fix BUG_ON() shown with vrtc regulator

Fix BUG_ON() error if tps65910 VRTC regulator is used with out
rdev->desc->volt_table data. Recent changes in regulator core driver
which add support for "regulator_list_voltage_table" have BUG_ON() if
regulator descriptor do not voltage table information. This patch adds
the voltage table information to fix the issue.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65910-regulator.c