]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: phy: generic: Use proper helper for property detection
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 20 Jan 2025 14:42:51 +0000 (15:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:16 +0000 (12:54 -0700)
commit25736fe5893d037abb83f7113ce1a00541de50ab
tree3fd542e355dd20ffa6c4368b0de69dc4c9fc65b2
parent705f2515189c2a00a45a5b15f81111eaaa232d95
usb: phy: generic: Use proper helper for property detection

[ Upstream commit 309005e448c1f3e4b81e4416406991b7c3339c1d ]

Since commit c141ecc3cecd7 ("of: Warn when of_property_read_bool() is
used on non-boolean properties") a warning is raised if this function
is used for property detection. of_property_present() is the correct
helper for this.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20250120144251.580981-1-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/phy/phy-generic.c