summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2021-03-01 15:26:59 +0100
committerThomas Gleixner <tglx@linutronix.de>2021-03-30 13:21:27 +0200
commit883ccef355b910398b99dfaf96d40557479a7e9b (patch)
tree5b2758a4ed190251a7a34f731131e065a2c5e558 /kernel/profile.c
parent6e457914935a3161eeb74e319abf9fd511aa1e4d (diff)
downloadlinux-stable-883ccef355b910398b99dfaf96d40557479a7e9b.tar.gz
linux-stable-883ccef355b910398b99dfaf96d40557479a7e9b.tar.bz2
linux-stable-883ccef355b910398b99dfaf96d40557479a7e9b.zip
genirq/irq_sim: Shrink devm_irq_domain_create_sim()
The custom devres structure manages only a single pointer which can can be achieved by using devm_add_action_or_reset() as well which makes the code simpler. [ tglx: Fixed return value handling - found by smatch ] Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210301142659.8971-1-brgl@bgdev.pl
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions