]> www.infradead.org Git - users/jedix/linux-maple.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>
Mon, 3 Feb 2025 15:39:56 +0000 (16:39 +0100)
commit309005e448c1f3e4b81e4416406991b7c3339c1d
tree6adab979877d905a984bd1929e8cd39e731a0496
parent9e8b21410f310c50733f6e1730bae5a8e30d3570
usb: phy: generic: Use proper helper for property detection

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>
drivers/usb/phy/phy-generic.c