From: Fabio Estevam
Date: Sat, 23 Jun 2018 21:28:22 -0300
> From: Fabio Estevam
>
> 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
From: Fabio Estevam
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
---
drivers/net/phy/fixed_phy.c | 7 ++-
1 file changed, 2 insertions(+),