commit | 238e14055da87d0d012257788e39fe0df3a82226 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | Fri Mar 21 13:18:17 2014 +0100 |
committer | Mike Turquette <mturquette@linaro.org> | Mon Mar 24 15:11:27 2014 -0700 |
tree | aea727b6ee2e027605899a8ab662bc2856bdbe62 | |
parent | c115b13b85af69df0314556213db0b73cd8ea7e6 [diff] |
clk: s2mps11: Fix possible NULL pointer dereference If parent device does not have of_node set the s2mps11_clk_parse_dt() returned NULL. This NULL was later passed to of_clk_add_provider() which dereferenced it in pr_debug() call. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Cc: <stable@vger.kernel.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>