diff options
| author | Julio Cesar Carvalho de Paula Souza <julio191096@gmail.com> | 2025-12-05 08:21:38 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-17 14:10:02 +0100 |
| commit | 1b92242888d7162dcd80efe907685394012e9565 (patch) | |
| tree | 07b67428cc431ed300769febf64a9029da649110 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 2038fe84b8bdf894b634f777096685e78e8f3774 (diff) | |
staging: greybus: arche-apb-ctrl: switch to device_property_read_bool
Switch from the deprecated of_property_read_bool() to the common
device_property_read_bool() API. This makes the driver agnostic to
the underlying firmware interface (DT or ACPI) and simplifies the
logic.
Since the driver is no longer strictly dependent on Device Tree,
include <linux/mod_devicetable.h> directly for the struct
of_device_id definition, instead of relying on implicit inclusion
via <linux/of_irq.h>, which has been removed as it is unused.
Also rename apb_ctrl_get_devtree_data() to apb_ctrl_get_fw_data()
to better reflect the agnostic nature of the new implementation.
Signed-off-by: Julio Cesar Carvalho de Paula Souza <julio191096@gmail.com>
Link: https://patch.msgid.link/20251205112138.3431-1-julio191096@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
