[PATCH v5 10/23] drm/i2c: tda998x: free the CEC device on encoder_destroy

2014-01-29 Thread Jean-Francois Moine
The cec i2c device is created in tda998x_encoder_init() when the DRM driver starts. This patch frees it when the DRM driver is unloaded. Tested-by: Russell King Acked-by: Russell King Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/i2c/tda998x_drv.c | 2 ++ 1 file changed, 2

[PATCH v5 10/23] drm/i2c: tda998x: free the CEC device on encoder_destroy

2014-01-29 Thread Jean-Francois Moine
The cec i2c device is created in tda998x_encoder_init() when the DRM driver starts. This patch frees it when the DRM driver is unloaded. Tested-by: Russell King rmk+ker...@arm.linux.org.uk Acked-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Jean-Francois Moine moin...@free.fr ---