Jamie Iles 83025c824f mtd: mpc5121_nfc: don't treat NULL clk as an error
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.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-03-11 14:22:41 +00:00
..
2009-10-20 10:07:23 +09:00
2010-10-25 00:33:48 +01:00
2010-12-03 16:31:24 +00:00
2009-10-20 10:07:23 +09:00
2010-10-24 23:38:30 +01:00
2010-12-03 16:27:29 +00:00
2008-06-04 17:50:17 +01:00