From: Mike Turquette Date: Thu, 22 Aug 2013 06:58:09 +0000 (-0700) Subject: clk: handle NULL struct clk gracefully X-Git-Tag: v3.12-rc1~78^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ac8d7ae1cde0f8c7a2f85c2e3b475d54aa9163;p=pandora-kernel.git clk: handle NULL struct clk gracefully At some point changes to clk_set_rate and clk_set_parent introduced a bug whereby NULL struct clk pointers were treated as an error. This is in violation of the API in include/linux/clk.h. Reintroduce graceful handling of NULL clk's by bailing from clk_set_rate and clk_set_parent with return codes of zero. Signed-off-by: Mike Turquette --- Reading git-diff-tree failed