mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
cpufreq: Use of_property_present() for testing DT property presence
[ Upstream commitb8f3a396a7] It is preferred to use typed property access functions (i.e. of_property_read_<type> functions) rather than low-level of_get_property/of_find_property functions for reading properties. As part of this, convert of_get_property/of_find_property calls to the recently added of_property_present() helper when we just want to test for presence of a property and nothing more. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Stable-dep-of:c4a5118a3a("cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
79de65ac39
commit
04fc66dd2b
5 changed files with 6 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue