2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-06 12:44:14 +08:00
linux-next/drivers/gpu/drm/tilcdc
Guido Martínez 7cdcce9f8b drm/tilcdc: remove submodule destroy calls
The TI tilcdc driver is designed with a notion of submodules. Currently,
at unload time, these submodules are iterated and destroyed.

Now that the tilcdc remove order is fixed, this can be handled perfectly
by the kernel using the device infrastructure, since each submodule
is a kernel driver itself, and they are only destroy()'ed at unload
time. Therefore we move the destroy() functionality to each submodule's
remove().

Also, remove some checks in the unloading process since the new code
guarantees the resources are allocated and need a release.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Tested-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-07-08 11:25:32 +10:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drivers/gpu/drm/tilcdc: Makefile, only -Werror when no -W* in EXTRA_CFLAGS 2013-04-24 14:34:40 +10:00
Module.symvers drm/tilcdc: remove submodule destroy calls 2014-07-08 11:25:32 +10:00
tilcdc_crtc.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
tilcdc_drv.c drm/tilcdc: remove submodule destroy calls 2014-07-08 11:25:32 +10:00
tilcdc_drv.h drm/tilcdc: remove submodule destroy calls 2014-07-08 11:25:32 +10:00
tilcdc_panel.c drm/tilcdc: remove submodule destroy calls 2014-07-08 11:25:32 +10:00
tilcdc_panel.h drm/tilcdc: add support for LCD panels (v5) 2013-02-19 17:57:45 -05:00
tilcdc_regs.h drm/tilcdc: support pixel widths greater than 1024 2013-06-28 09:12:13 +10:00
tilcdc_slave.c drm/tilcdc: remove submodule destroy calls 2014-07-08 11:25:32 +10:00
tilcdc_slave.h drm/tilcdc: add encoder slave (v2) 2013-02-19 17:57:44 -05:00
tilcdc_tfp410.c drm/tilcdc: remove submodule destroy calls 2014-07-08 11:25:32 +10:00
tilcdc_tfp410.h