mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
0deb003933
Even in the presence of problems (here: rn_acp_deinit() might fail), it's important to unregister all resources acquired during .probe() because even if .remove() returns an error code, the device is removed. As .remove() is only called after .probe() returned success, platdata must be valid, so the first check in .remove() can just be dropped. This is a preparation for making platform remove callbacks return void. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20220622061739.225966-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
acp | ||
include | ||
raven | ||
renoir | ||
vangogh | ||
yc | ||
acp3x-rt5682-max9836.c | ||
acp-config.c | ||
acp-da7219-max98357a.c | ||
acp-pcm-dma.c | ||
acp-rt5645.c | ||
acp.h | ||
Kconfig | ||
mach-config.h | ||
Makefile |