diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-22 12:43:33 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-05-01 20:13:25 +0200 |
commit | 0119dc6132d2110df8f3545bd0ffe29aa0752d6b (patch) | |
tree | a8c311ff819392ff7281a3a7385d92b9cf7212c7 /drivers/clk/qcom | |
parent | clk: ti: divider: try to fix ti_clk_register_divider (diff) | |
download | linux-0119dc6132d2110df8f3545bd0ffe29aa0752d6b.tar.xz linux-0119dc6132d2110df8f3545bd0ffe29aa0752d6b.zip |
clk: x86: pmc-atom: Checking for IS_ERR() instead of NULL
clkdev_hw_create() returns NULLs on error, it doesn't return error
pointers.
Fixes: 41ee7caf59e1 ("clk: x86: add "mclk" alias for Baytrail/Cherrytrail")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom')
0 files changed, 0 insertions, 0 deletions