commit | b0c1638f26a5f8d593e79b226e8dec0bcd5adc3e | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Sat Jun 23 21:28:22 2018 -0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 24 16:41:58 2018 +0900 |
tree | d7d63b0cf26e47ddbbca17d29c8e6748757f076e | |
parent | dd55c4ea9e6ba957083f985f33f994c23b405e9e [diff] |
net: phy: fixed-phy: Make the error path simpler 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>