aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-06-28 10:36:36 +0200
committerMichal Simek <[email protected]>2023-07-10 13:01:09 +0200
commite88640651ed42c76336dc21f080dca63244cdcff (patch)
treed5611dbb3e45adeafff9a30e9799eb348abec9f4 /scripts
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions