[PATCH 12/16] mtd: mpc5121_nfc: don't treat NULL clk as an error

Wolfram Sang w.sang at pengutronix.de
Tue Jan 11 10:15:28 EST 2011


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 at simtec.co.uk>
> Cc: linux-mtd at lists.infradead.org
> Signed-off-by: Jamie Iles <jamie at jamieiles.com>

Reviewed-by: Wolfram Sang <w.sang at pengutronix.de>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20110111/dfb156a3/attachment.sig>


More information about the linux-mtd mailing list