summaryrefslogtreecommitdiffstats
path: root/drivers/pmdomain/ti/omap_prm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pmdomain/ti/omap_prm.c')
-rw-r--r--drivers/pmdomain/ti/omap_prm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pmdomain/ti/omap_prm.c b/drivers/pmdomain/ti/omap_prm.c
index b8ceb3c2b81c..79d165331d8c 100644
--- a/drivers/pmdomain/ti/omap_prm.c
+++ b/drivers/pmdomain/ti/omap_prm.c
@@ -613,7 +613,7 @@ static int omap_prm_domain_attach_clock(struct device *dev,
if (!of_device_is_compatible(np, "simple-pm-bus"))
return 0;
- if (!of_property_read_bool(np, "clocks"))
+ if (!of_property_present(np, "clocks"))
return 0;
error = pm_clk_create(dev);