wm831x_backup: Support multiple instances
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 May 2011 12:30:10 +0000 (13:30 +0100)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 8 Jul 2011 12:56:47 +0000 (16:56 +0400)
commitd03760318edbc78b72cb7fa96bddb65263384d24
tree8bfb9911bbd9b5e2805585196adc6b8581ef2dda
parentc84cad3d0fbb09dbfb30336ab05181cdbe097634
wm831x_backup: 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_backup.c