diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2016-09-25 13:53:58 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-10-21 01:37:56 +0200 |
commit | 91bbc174d45c347aa7aedb2215cc7d2013c06c1f (patch) | |
tree | ed6da3e83eb3eb294a3e159ec111074315afd392 /Documentation | |
parent | clk: uniphier: rename MIO clock to SD clock for Pro5, PXs2, LD20 SoCs (diff) | |
download | linux-91bbc174d45c347aa7aedb2215cc7d2013c06c1f.tar.xz linux-91bbc174d45c347aa7aedb2215cc7d2013c06c1f.zip |
clk: at91: Fix a return value in case of error
If 'clk_hw_register()' fails, it is likely that we expect to return an
error instead of a valid pointer (which would mean success).
Fix commit f5644f10dcfb ("clk: at91: Migrate to clk_hw based registration
and OF APIs")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions