From: Stephen Boyd Date: Fri, 16 May 2014 23:07:14 +0000 (-0700) Subject: clk: qcom: Return error pointers for unimplemented clocks X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ec2749bde1a5827beef5be64bfd5f24992f4ef3;p=pandora-kernel.git clk: qcom: Return error pointers for unimplemented clocks Not all clocks are implemented but client drivers can still request them. Currently we will return a NULL pointer to them if the clock isn't implemented in software but NULL pointers are valid clock pointers. Return an error pointer so that driver's don't proceed without a clock they may actually need. Signed-off-by: Stephen Boyd Signed-off-by: Mike Turquette --- Reading git-diff-tree failed