mirror of
https://github.com/lkl/linux.git
synced 2025-12-21 09:03:14 +09:00
When platform_device_register_simple() fails we can return the error immediately instead of jumping to the 'err_pdev' label. This makes the error path a bit simpler. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
7.0 KiB
7.0 KiB