summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-28 10:36:36 +0200
committerMichal Simek <michal.simek@amd.com>2023-07-10 13:01:09 +0200
commite88640651ed42c76336dc21f080dca63244cdcff (patch)
treed5611dbb3e45adeafff9a30e9799eb348abec9f4 /init
parentLinux 6.5-rc1 (diff)
downloadlinux-e88640651ed42c76336dc21f080dca63244cdcff.tar.xz
linux-e88640651ed42c76336dc21f080dca63244cdcff.zip
driver: soc: xilinx: 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 only effect compared to returning zero is that the core emits an error message. By converting to .remove_new() (which is semantically equivalent to return 0 in .remove()) this error message is suppressed which is a good thing as xlnx_event_manager_remove() already emits an better error message. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230628083636.684394-1-u.kleine-koenig@pengutronix.de Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions