mirror_ubuntu-kernels/drivers/gpu/drm/lima
Uwe Kleine-König 980ec64443 drm/lima: 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 (mostly) ignored
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.

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: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230507162616.1368908-26-u.kleine-koenig@pengutronix.de
2023-06-08 09:04:11 -07:00
..
Kconfig
lima_bcast.c
lima_bcast.h
lima_ctx.c Revert "drm/lima: add usage counting method to ctx_mgr" 2023-04-05 08:40:47 +08:00
lima_ctx.h Revert "drm/lima: add usage counting method to ctx_mgr" 2023-04-05 08:40:47 +08:00
lima_devfreq.c drm/lima: Fix opp clkname setting in case of missing regulator 2022-11-14 19:08:21 +08:00
lima_devfreq.h drm for 5.13-rc1 2021-04-28 10:01:40 -07:00
lima_device.c Linux 5.16-rc5 2021-12-14 10:24:28 +01:00
lima_device.h Revert "drm/lima: allocate unique id per drm_file" 2023-04-05 08:40:06 +08:00
lima_dlbu.c
lima_dlbu.h
lima_drv.c drm/lima: Convert to platform remove callback returning void 2023-06-08 09:04:11 -07:00
lima_drv.h Revert "drm/lima: allocate unique id per drm_file" 2023-04-05 08:40:06 +08:00
lima_dump.h
lima_gem.c drm/lima: Use drm_sched_job_add_syncobj_dependency() 2023-03-21 18:14:19 -03:00
lima_gem.h
lima_gp.c
lima_gp.h
lima_l2_cache.c
lima_l2_cache.h
lima_mmu.c
lima_mmu.h
lima_pmu.c
lima_pmu.h
lima_pp.c
lima_pp.h
lima_regs.h
lima_sched.c drm/gem: Take reservation lock for vmap/vunmap operations 2022-10-18 01:21:38 +03:00
lima_sched.h drm/lima: use scheduler dependency tracking 2021-08-30 10:58:20 +02:00
lima_trace.c
lima_trace.h treewide: Add missing semicolons to __assign_str uses 2021-06-30 09:19:14 -04:00
lima_vm.c
lima_vm.h
Makefile