aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/x86/clk-lgm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/x86/clk-lgm.c')
-rw-r--r--drivers/clk/x86/clk-lgm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/x86/clk-lgm.c b/drivers/clk/x86/clk-lgm.c
index 4de77b2c750d..f69455dd1c98 100644
--- a/drivers/clk/x86/clk-lgm.c
+++ b/drivers/clk/x86/clk-lgm.c
@@ -436,7 +436,7 @@ static int lgm_cgu_probe(struct platform_device *pdev)
ctx->clk_data.num = CLK_NR_CLKS;
ctx->membase = syscon_node_to_regmap(np);
- if (IS_ERR_OR_NULL(ctx->membase)) {
+ if (IS_ERR(ctx->membase)) {
dev_err(dev, "Failed to get clk CGU iomem\n");
return PTR_ERR(ctx->membase);
}