| Date | Tue, 11 Jan 2011 16:15:28 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH 12/16] mtd: mpc5121_nfc: don't treat NULL clk as an error |
| |
On Tue, Jan 11, 2011 at 12:43:49PM +0000, Jamie Iles wrote: > clk_get() returns a struct clk cookie to the driver and some platforms > may return NULL if they only support a single clock. clk_get() has only > failed if it returns a ERR_PTR() encoded pointer. > > Cc: Vincent Sanders <support@simtec.co.uk> > Cc: linux-mtd@lists.infradead.org > Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
-- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] |