diff options
author | Vladimir Zapolskiy <[email protected]> | 2016-03-08 01:41:29 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2016-04-15 16:57:09 -0700 |
commit | cb0ceaf77d93964a0d00477c79f4499123f6159c (patch) | |
tree | 23f7da8eeb928896756cf78612a84363a1fb0918 /lib/debugobjects.c | |
parent | d31d56ec17431d3883d5f4b60d407fa5e75add06 (diff) |
clk: at91: fix check of clk_register() returned value
The clk_register() function returns a valid pointer to struct clk or
ERR_PTR() error code, this makes a check for returned NULL value
useless and may lead to oops on error path.
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Boris Brezillon <[email protected]>
Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock")
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions