diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-08 10:05:12 +0700 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2026-08-17 19:20:38 +0200 |
| commit | 966506838a4a8f51abcac8db67e6c2980f366134 (patch) | |
| tree | 07df22a18806482bb6f28576660e9faa8a46434d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a7345ad73afa7fa87136ef5d59ada7bd747c6584 (diff) | |
can: m_can: Use of_property_present() for wakeup-source
The 'wakeup-source' property is declared as a phandle-array in both YAML
bindings and Device Tree source files. However, the driver currently
uses of_property_read_bool() to check for its existence.
According to the function's documentation, usage on non-boolean property
types is deprecated. Switch to of_property_present() to comply with the
recommended API for checking the presence of a property.
Fixes: 04d5826b074e ("can: m_can: Map WoL to device_set_wakeup_enable")
Reviewed-by: Kendall Willis <k-willis@ti.com>
Acked-by: Markus Schneider-Pargmann <msp@baylibre.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260708030512.8570-1-phucduc.bui@gmail.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
