ARM: OMAP: igep0020: fix smsc911x dummy regulator id
authorEnrico Butera <ebutera@users.berlios.de>
Wed, 9 May 2012 09:27:59 +0000 (11:27 +0200)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 18 May 2012 10:34:31 +0000 (15:34 +0530)
commitb772aa757aa2d25f16f4b06363da946124530c1e
tree0c4db1a77b69f063a06dbc195bbd96fa267f18e6
parent29703182b2a88a28bb41dcc8f5ef4abc15dd9ef7
ARM: OMAP: igep0020: fix smsc911x dummy regulator id

id 0 is already used and causes errors at boot:

WARNING: at fs/sysfs/dir.c:508 sysfs_add_one+0x9c/0xac()
sysfs: cannot create duplicate filename '/devices/platform/reg-fixed-voltage.0'

Fix it by using the next available one (id=1).

This was caused by 5b3689f4 (ARM: OMAP2+: smsc911x: Add fixed
board regulators) that did not account for some regulators
already being used.

Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
[tony@atomide.com: updated comments for regression causing commit]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-igep0020.c