diff options
author | Leo Yan <leo.yan@linaro.org> | 2015-08-03 09:13:34 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-08-03 14:44:53 -0700 |
commit | 1fb6dd9da6ed4f2953b62162f3c498a1f6d7bfca (patch) | |
tree | 60159d6d75090c29efe483d47dd3590893e997c7 /drivers/clk/mmp/clk-mix.c | |
parent | 3294bee87091be5f179474f6c39d1d87769635e2 (diff) | |
download | linux-1fb6dd9da6ed4f2953b62162f3c498a1f6d7bfca.tar.bz2 |
clk: hisi: refine parameter checking for init
*of_iomap()* will check the device node pointer, and if the pointer is
NULL it will return error code. So refine clock's init flow by checking
the device node with this simple way; and polish a little for the print
out message.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mmp/clk-mix.c')
0 files changed, 0 insertions, 0 deletions