diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-12-14 08:37:15 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-12-15 09:30:51 +0300 |
commit | 9594f273fafe76663e502337eaf393dc4f7bf8fa (patch) | |
tree | 468d75c3fb0c0f67f67688c16f8d1c9b9dd04bb0 /scripts/gdb/linux/tasks.py | |
parent | 7395de647e87476f5b5d2f9a9fe80cee86b4e7cc (diff) | |
download | linux-9594f273fafe76663e502337eaf393dc4f7bf8fa.tar.xz |
Input: da9063 - simplify obtaining OF match data
Simplify probe() by replacing of_match_node() for retrieving match data by
device_get_match_data().
Some minor cleanups:
* Remove the trailing comma in the terminator entry for the OF
table making code robust against (theoretical) misrebases or other
similar things where the new entry goes _after_ the termination without
the compiler noticing.
* Move OF table near to the user.
* Arrange variables in reverse xmas tree order in probe().
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20231213214803.9931-2-biju.das.jz@bp.renesas.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions