Reviewed-by: Andy Shevchenko<andy.shevchenko@xxxxxxxxx>Too fast to give a tag, see below (keep tag if addressing it)
...
As per kernel doc:- pdev = platform_device_alloc(cell->name, PLATFORM_DEVID_AUTO);
+ pdev = platform_device_register_full(cell->pdevinfo);
if (!pdev)
return -ENOMEM;
* Returns &struct platform_device pointer on success, or ERR_PTR() on error.