Message ID | 20250219113354.529611-4-mkl@pengutronix.de (mailing list archive) |
---|---|
State | Accepted |
Commit | ab1bc2290fd8311d49b87c29f1eb123fcb581bee |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next,01/12] can: c_can: Drop useless final probe failure message | expand |
diff --git a/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c index 96d1225c41d0..1acceb097c17 100644 --- a/drivers/net/can/c_can/c_can_platform.c +++ b/drivers/net/can/c_can/c_can_platform.c @@ -316,7 +316,7 @@ static int c_can_plat_probe(struct platform_device *pdev) /* Check if we need custom RAMINIT via syscon. Mostly for TI * platforms. Only supported with DT boot. */ - if (np && of_property_read_bool(np, "syscon-raminit")) { + if (np && of_property_present(np, "syscon-raminit")) { u32 id; struct c_can_raminit *raminit = &priv->raminit_sys;