[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111112124939.GJ5011@pengutronix.de>
Date: Sat, 12 Nov 2011 13:49:39 +0100
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Richard Zhao <richard.zhao@...aro.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
linux-arm-kernel@...ts.infradead.org, kernel@...gutronix.de,
shawn.guo@...aro.org, eric.miao@...aro.org
Subject: Re: [PATCH 1/1] net: fec: convert to clk_prepare/clk_unprepare
Hello Richard,
On Thu, Nov 10, 2011 at 01:01:44PM +0800, Richard Zhao wrote:
> Signed-off-by: Richard Zhao <richard.zhao@...aro.org>
> ---
> drivers/net/ethernet/freescale/fec.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/ethernet/freescale/fec.c b/drivers/net/ethernet/freescale/fec.c
> index 1124ce0..92e3585 100644
> --- a/drivers/net/ethernet/freescale/fec.c
> +++ b/drivers/net/ethernet/freescale/fec.c
> @@ -1588,6 +1588,7 @@ fec_probe(struct platform_device *pdev)
> ret = PTR_ERR(fep->clk);
> goto failed_clk;
> }
> + clk_prepare(fep->clk);
What about error checking?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists