diff options
author | Bartosz Golaszewski <[email protected]> | 2022-07-12 09:40:55 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2022-07-12 13:41:25 +0200 |
commit | 7329b071729645e243b6207e76bca2f4951c991b (patch) | |
tree | c7ae8f4bc3b6504d8123808c85f4af0286b97797 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 32346491ddf24599decca06190ebca03ff9de7f8 (diff) |
gpio: sim: fix the chip_name configfs item
The chip_name configs attribute always displays the device name of the
first GPIO bank because the logic of the relevant function is simply
wrong.
Fix it by correctly comparing the bank's swnode against the GPIO
device's children.
Fixes: cb8c474e79be ("gpio: sim: new testing module")
Cc: [email protected]
Reported-by: Kent Gibson <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Kent Gibson <[email protected]>
Tested-by: Kent Gibson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions