Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

From: Ley Foon Tan
Date: Wed Dec 17 2014 - 21:08:27 EST


On Thu, Dec 18, 2014 at 1:17 AM, Dinh Nguyen <dinh.linux@xxxxxxxxx> wrote:
>>>>> +MODULE_DEVICE_TABLE(of, altera_mbox_match);
>>>>> +
>>>>> +static struct platform_driver altera_mbox_driver = {
>>>>> + .probe = altera_mbox_probe,
>>>>> + .remove = altera_mbox_remove,
>>>>> + .driver = {
>>>>> + .name = DRIVER_NAME,
>>>>> + .owner = THIS_MODULE,
>>>>> + .of_match_table = altera_mbox_match,
>>>
>>> of_match_ptr(altera_mbox_match).
>> Okay.
>
> This driver is DT-only, so of_match_ptr() is not needed.
>
Yes, this driver is DT-only. Okay, we don't need of_match_ptr.

Ley Foon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/