diff options
Diffstat (limited to 'drivers/sh/clk')
-rw-r--r-- | drivers/sh/clk/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/clk/core.c b/drivers/sh/clk/core.c index ebeaa9e9f068..229ad0991f26 100644 --- a/drivers/sh/clk/core.c +++ b/drivers/sh/clk/core.c | |||
@@ -396,7 +396,7 @@ int clk_register(struct clk *clk) | |||
396 | { | 396 | { |
397 | int ret; | 397 | int ret; |
398 | 398 | ||
399 | if (clk == NULL || IS_ERR(clk)) | 399 | if (IS_ERR_OR_NULL(clk)) |
400 | return -EINVAL; | 400 | return -EINVAL; |
401 | 401 | ||
402 | /* | 402 | /* |