Hi Mark, Thanks for your reply. Sure, Understand. I missed that part.
I will just fix id base to 0 from -1. If not, duplicate filename error was reported like this. - sysfs: cannot create duplicate filename '/devices/.../wm8994-ldo' Best Regards, Inha Song. On Tue, 30 Dec 2014 11:28:21 +0000 Mark Brown <[email protected]> wrote: > On Tue, Dec 30, 2014 at 02:45:20PM +0900, Inha Song wrote: > > After commit: 6e3f62f0793e ("mfd: core: Fix platform-device id generation") > > We must set the id base when register a duplicate name of mfd_cell. > > but, if we use PLATFORM_DEVID_AUTO flag, cell ids are automatically > > allocated and managed without cell id setting. > > The driver relies on getting those specific IDs in order to work out > which LDO it's working with, automatically generated numbers may be the > same now but can you guarantee that in future? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

