On Mon, Jun 30, 2014 at 11:47 AM, Mark Rutland <mark.rutl...@arm.com> wrote: >> +static struct platform_driver axp20x_pek_driver = { >> + .probe = axp20x_pek_probe, >> + .remove = axp20x_pek_remove, >> + .driver = { >> + .name = "axp20x-pek", >> + .owner = THIS_MODULE, >> + }, >> +}; >> +module_platform_driver(axp20x_pek_driver); > > So this requires platform data rather than a DTB? Or have I missed > something?
It is not loaded by DTB but by the MFD core driver (axp20x). So I assume this is still a platform device. Regards, -- Carlo Caione -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.