diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-08-23 14:48:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-24 02:10:16 +0200 |
commit | 53080fe9c451e7625e71b91c384e7bef1be72b00 (patch) | |
tree | 7b958b33fc7edfa7bcdfb35a651d61dfe0d5de01 /net/sctp/sctp_diag.c | |
parent | net: mv88e6xxx: Fix ingress rate removal for mv6131 chips (diff) | |
download | linux-53080fe9c451e7625e71b91c384e7bef1be72b00.tar.xz linux-53080fe9c451e7625e71b91c384e7bef1be72b00.zip |
net: lpc_eth: Check clk_prepare_enable() error
clk_prepare_enable() may fail, so we should better check its return
value and propagate it in the case of failure
While at it, replace __lpc_eth_clock_enable() with a plain
clk_prepare_enable/clk_disable_unprepare() call in order to
simplify the code.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sctp_diag.c')
0 files changed, 0 insertions, 0 deletions