[PATCH 1/2] ARM: shmobile: R8A7779: add Ether support
Sergei Shtylyov
sergei.shtylyov at cogentembedded.com
Tue Apr 2 07:45:12 EDT 2013
Hello.
On 02-04-2013 4:17, Kuninori Morimoto wrote:
>> +void __init r8a7779_add_ether_device(void *pdata)
>> +{
>> + ether_device.dev.platform_data = pdata;
>> +
>> + platform_device_register(ðer_device);
>> +}
> Current ARM SoC is trying to not use platform_device_register()
> Please use platform_device_register_xxx()
> Same comment for [2/2]
Is there some rationale to it? I don't find platform_device_register_xxx()
especially handy to use.
WBR, Sergei
More information about the linux-arm-kernel
mailing list