From: Jamie Iles Date: Tue, 11 Jan 2011 12:43:49 +0000 (+0000) Subject: mtd: mpc5121_nfc: don't treat NULL clk as an error X-Git-Tag: v2.6.39-rc1~40^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83025c824fce44b6d007b9bbc506c4189fb89da1;p=pandora-kernel.git 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 Reviewed-by: Wolfram Sang Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed