diff options
| author | Jose Javier Rodriguez Barbarin <dev-josejavier.rodriguez@duagon.com> | 2026-01-16 12:21:41 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-27 15:54:09 +0100 |
| commit | bc2e4bc952e26dd93b978588219044bd8b24237b (patch) | |
| tree | 06eecc8eb5c75d155388db7a7da6a4518b686a14 /tools/perf/scripts/python/syscall-counts.py | |
| parent | be0801e530f76890ffa7cf35f58c327b55f972dd (diff) | |
| download | linux-bc2e4bc952e26dd93b978588219044bd8b24237b.tar.gz linux-bc2e4bc952e26dd93b978588219044bd8b24237b.zip | |
mcb: fix incorrect sanity check
__mcb_register_driver() makes some sanity checks over mcb_driver
to check if .probe and .remove callbacks are set. However, since commit
3bd13ae04ccc ("gpio: menz127: simplify error path and remove remove()")
removed the .remove callback from menz127-gpio.c, not all mcb device
drivers implement .remove callback.
Remove .remove check to ensure all mcb device drivers can be loaded.
Signed-off-by: Jose Javier Rodriguez Barbarin <dev-josejavier.rodriguez@duagon.com>
Fixes: 3bd13ae04ccc ("gpio: menz127: simplify error path and remove remove()")
[ jth: added statement about menz127-gpio.c ]
Signed-off-by: Johannes Thumshirn <morbidrsa@gmail.com>
Link: https://patch.msgid.link/16fb55bd59d9c1d2ce2443f41d4dec2048f9a8ec.1768562302.git.jth@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
