regulator: question about commit d886a041646 pfuze100-regulator: Fix MODULE_ALIAS()
Hi,
I just found this commit after pull regulator updates. So why to use 'platform' prefix in MODULE_ALIAS for i2c driver? Does it really work?
Regards,
Axel
Quoted 3 lines · Axel Lin
I just found this commit after pull regulator updates. So why to use 'platform' prefix in
MODULE_ALIASfor i2c driver? Does it really work?
No, it shouldn't work - I'll drop that commit for now. Sorry, such a mistake didn't occur to me when reviewing. The reason most regulators are platform devices is that they are part of MFDs.