]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: omap: fix deprecated of_property_read_bool() use
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 15 Apr 2025 07:52:30 +0000 (09:52 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 5 May 2025 22:14:25 +0000 (00:14 +0200)
commite66b0a8f048bc8590eb1047480f946898a3f80c9
tree0725f5b1ccb993ef6de69aaf1c7f9605094db21d
parent92a09c47464d040866cf2b4cd052bc60555185fb
i2c: omap: fix deprecated of_property_read_bool() use

Using of_property_read_bool() for non-boolean properties is deprecated
and results in a warning during runtime since commit c141ecc3cecd ("of:
Warn when of_property_read_bool() is used on non-boolean properties").

Fixes: b6ef830c60b6 ("i2c: omap: Add support for setting mux")
Cc: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Acked-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Link: https://lore.kernel.org/r/20250415075230.16235-1-johan+linaro@kernel.org
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-omap.c