[PATCH v7 3/6] input: misc: Add driver for AXP20x Power Enable Key
Carlo Caione
carlo at caione.org
Mon Jun 30 10:43:22 PDT 2014
On Mon, Jun 30, 2014 at 11:47 AM, Mark Rutland <mark.rutland at 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
More information about the linux-arm-kernel
mailing list