mfd: wm8994: Set mfd id-base for regulator devs creation to avoid conflicts
authorInha Song <ideal.song@samsung.com>
Thu, 8 Jan 2015 01:04:33 +0000 (10:04 +0900)
committerLee Jones <lee.jones@linaro.org>
Thu, 22 Jan 2015 15:56:03 +0000 (15:56 +0000)
commitfef22cb414387a1b8f57cbbca310fdb3895ab4da
tree681eab2ee44c1ac3f5f2f908df83fc2920538e5f
parent3daa122d6b710762aff5fa6aae534ed7cc45c2d6
mfd: wm8994: Set mfd id-base for regulator devs creation to avoid conflicts

After commit: 6e3f62f0793e ("mfd: core: Fix platform-device id generation")
We must set the id base when register a duplicate name of mfd_cell.
If not, duplicate filename error was reported.

- sysfs: cannot create duplicate filename '/devices/.../wm8994-ldo'

Signed-off-by: Inha Song <ideal.song@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/wm8994-core.c