Starting with commit c141ecc3cecd7 ("of: Warn when of_property_read_bool()
is used on non-boolean properties"), probing the gpcv2 device on i.MX8M
SoCs leads to warnings when LOCKDEP is enabled.
Fix this by checking property presence with of_property_present as
intended.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.kernel.org/r/20250218-gpcv2-of-property-present-v1-1-3bb1a9789654@pengutronix.de
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
||
|---|---|---|
| .. | ||
| gpc.c | ||
| gpcv2.c | ||
| imx8m-blk-ctrl.c | ||
| imx8mp-blk-ctrl.c | ||
| imx93-blk-ctrl.c | ||
| imx93-pd.c | ||
| Kconfig | ||
| Makefile | ||
| scu-pd.c | ||