diff options
author | Francesco Dolcini <[email protected]> | 2022-07-12 18:33:42 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2022-09-28 16:09:48 +0100 |
commit | d7667f19033925f263512145d8b7a02dd3d35fa6 (patch) | |
tree | 2ddb4bc85889f87bd0bbbd51dfba1ab25b8b14a5 /scripts/gdb/linux/mm.py | |
parent | 8c4352976ff2121d6d3dce5b7641f3c30c03a415 (diff) |
mfd: stmpe: Probe sub-function by compatible
Use sub-function of_compatible during probe, instead of using the node
name. The code should not rely on the node names during probe, in
addition to that the previously hard-coded node names are not compliant
to the latest naming convention (they are not generic and they use
underscores), and it was broken by mistake already once [1].
[1] commit 56086b5e804f ("ARM: dts: imx6qdl-apalis: Avoid underscore in node name")
Suggested-by: Ahmad Fatoum <[email protected]>
Signed-off-by: Francesco Dolcini <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions