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

Artem Bityutskiy dedekind1 at gmail.com
Tue Jan 18 07:09:13 EST 2011


On Tue, 2011-01-11 at 12:43 +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>

Pushed to l2-mtd-2.6.git, thanks.

-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list