summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/lpass-macro-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/lpass-macro-common.c')
-rw-r--r--sound/soc/codecs/lpass-macro-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/lpass-macro-common.c b/sound/soc/codecs/lpass-macro-common.c
index 1b9082d237c1..f54baaad54d4 100644
--- a/sound/soc/codecs/lpass-macro-common.c
+++ b/sound/soc/codecs/lpass-macro-common.c
@@ -16,7 +16,7 @@ struct lpass_macro *lpass_macro_pds_init(struct device *dev)
struct lpass_macro *l_pds;
int ret;
- if (!of_find_property(dev->of_node, "power-domains", NULL))
+ if (!of_property_present(dev->of_node, "power-domains"))
return NULL;
l_pds = devm_kzalloc(dev, sizeof(*l_pds), GFP_KERNEL);