summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-06-27 01:25:27 +0300
committerUwe Kleine-König <ukleinek@kernel.org>2024-07-10 18:53:51 +0300
commit44ee95184e785c64e301498dec112bb1582bffd2 (patch)
tree63753ca585850ef423d116ddf9a8e430d7aba4b1 /scripts/gdb/linux/tasks.py
parent9b22ceb31a7dda9a78959db3c6e35b04888032f9 (diff)
downloadlinux-44ee95184e785c64e301498dec112bb1582bffd2.tar.xz
pwm: Register debugfs operations after the pwm class
While the debugfs operations don't technically depend on an initialized class, they loop over the idr that only can get entries when the class is properly initialized. This also fixes the ugly (but harmless) corner case that the debugfs file stays around after the pwm class failed to initialize. While at it, add an appropriate error message when class initialization fails. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/20240626222529.2901200-2-u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions