wm831x_power: Support multiple instances
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 May 2011 12:30:11 +0000 (13:30 +0100)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 8 Jul 2011 12:57:21 +0000 (16:57 +0400)
commitccf8fa2d1b4dd8660aadc830f22645781628b894
treecb3cb711fc9367c72d1c9e8c9f4cd6ccd03255a1
parentd03760318edbc78b72cb7fa96bddb65263384d24
wm831x_power: Support multiple instances

If there are multiple wm831x devices in the system we need to assign
different names to the power supply devices in order to ensure we can
create the sysfs entries for them.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/wm831x_power.c