Hi, Vardan Mikayelyan <vardan.mikayel...@synopsys.com> writes: > Move usb_phy_generic_register() function call to the top, to simplify > error handling. > > Replace kzalloc() with devm_kzalloc(). > > After platform_device_add(), if we error out, we must do > platform_device_unregister(), which also does the put. So lets move > devm_kzalloc() to simplify error handling and avoid > calling of platform_device_unregister(). > > Reviewed-by: Wei Yongjun <weiyongj...@huawei.com> > Signed-off-by: Vardan Mikayelyan <mvar...@synopsys.com>
this patch does more than one thing. I can't apply like that, sorry. I can see three unrelated changes going on here, please split the patch and resend. -- balbi
signature.asc
Description: PGP signature