Re: [PATCH 1/7] drm/sun4i: Move drm_mode_config_cleanup call to main driver

2017-02-21 Thread Maxime Ripard
On Fri, Feb 17, 2017 at 11:13:24AM +0800, Chen-Yu Tsai wrote: > drm_mode_config_cleanup is the complement of drm_mode_config_init, which > is called in the bind function of sun4i_drv. drm_mode_config_cleanup > should be put in the unbind function to match. > > Signed-off-by: Chen-Yu Tsai

[PATCH 1/7] drm/sun4i: Move drm_mode_config_cleanup call to main driver

2017-02-17 Thread Chen-Yu Tsai
drm_mode_config_cleanup is the complement of drm_mode_config_init, which is called in the bind function of sun4i_drv. drm_mode_config_cleanup should be put in the unbind function to match. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 +