aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/sof
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-10-04 15:12:40 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2023-11-20 22:01:16 +0100
commitd27cb32e00eff60d8fa94de265a8d84c63ef059c (patch)
treedf50217445032d1bf6af4c88744647a3cf9aee42 /sound/soc/sof
parent0576ded05b33dd460082b29d900e2f17a56c5a6b (diff)
EDAC/dmc520: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is ignored (apart from emitting a warning) and this typically results in resource leaks. To improve here there is a quest to make the remove callback return void. In the first step of this quest all drivers are converted to .remove_new(), which already returns void. Eventually after all drivers are converted, .remove_new() will be renamed to .remove(). Trivially convert this driver from always returning zero in the remove callback to the void returning variant. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20231004131254.2673842-8-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'sound/soc/sof')
0 files changed, 0 insertions, 0 deletions
inux.git/commit/include/linux/jump_label.h?id=2f0df49c89acaa58571d509830bc481250699885'>jump_label: Do not profile branch annotationsSteven Rostedt (VMware)1-6/+6 2020-06-19docs: move remaining stuff under Documentation/*.txt to Documentation/stagingMauro Carvalho Chehab1-1/+1 2019-06-17jump_label: Batch updates if arch supports itDaniel Bristot de Oliveira1-0/+3 2019-01-06jump_label: move 'asm goto' support test to KconfigMasahiro Yamada1-13/+9 2018-09-27jump_label: Annotate entries that operate on __init code earlierArd Biesheuvel1-7/+4 2018-09-27jump_label: Implement generic support for relative referencesArd Biesheuvel1-0/+28 2018-09-27jump_label: Abstract jump_entry member accessorsArd Biesheuvel1-0/+34 2018-07-04usercopy: Allow boot cmdline disabling of hardeningChris von Recklinghausen1-0/+6 2018-03-20jump_label: Disable jump labels in __exit codeJosh Poimboeuf1-2/+2 2018-02-21jump_label: Explicitly disable jump labels in __init codeJosh Poimboeuf1-0/+3 2018-02-06jump_label: Add branch hints to static_branch_{un,}likely()Peter Zijlstra1-2/+2 2018-01-24sched/core: Fix cpu.max vs. cpuhotplug deadlockPeter Zijlstra1-0/+7 2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-0/+1 2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1 2017-10-19locking/static_keys: Improve uninitialized key warningBorislav Petkov1-7/+7 2017-08-10jump_label: Provide hotplug context variantsMarc Zyngier1-2/+9 2017-08-10jump_label: Fix concurrent static_key_enable/disable()Paolo Bonzini1-10/+12 2017-03-07Merge tag 'trace-v4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+9 2017-03-03jump_label: Add comment about initialization order for anonymous unionsSteven Rostedt (VMware)1-0/+7 2017-03-03jump_label: Fix anonymous union initializationBoris Ostrovsky1-2/+2 2017-02-27Merge tag 'trace-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-8/+15 2017-02-15jump_label: Reduce the size of struct static_keyJason Baron1-8/+15 2017-01-19jump_labels: Move header guard #endif down where it belongsLuis R. Rod