Skip to contentSkip to conversation

regulator: question about commit d886a041646 pfuze100-regulator: Fix MODULE_ALIAS()

DISCUSSION Axel Lin 2 participants 2 messages Dec 31, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Axel Lin

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?

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.