Messages in this thread | | | Date | Fri, 22 Aug 2008 20:56:16 -0400 | From | "Eric Miao" <> | Subject | Re: Fundamental Design Flaw of the Device Driver Model? |
| |
> Instead of allocating/adding the platform subdevices manually in > da903x_add_subdevs, couldn't you use the MFD (multi function device) > infrastructure that seems to be intended for this case? Also, I think > that the da9030 base driver would then better fit in drivers/mfd, not > drivers/i2c/chips (didn't Jean Delvare himself state that ideally > drivers/i2c/chips should be empty?).
Actually, I don't mind keep it anywhere. The intermediate platform_device is what I'd like to avoid mostly. Using my own simple logic allows me to do that later.
| |