[PATCH 1/1] drm/exynos: Fix de-registration ordering

2014-06-18 Thread Inki Dae
On 2014? 06? 17? 20:38, Sachin Kamat wrote: > 'exynos_drm_pdev' was not getting unregistered if platform_driver_register() > failed. Fix the ordering to allow this. This also fixes the below warning by > moving the #endif macro. While at it also fix the ordering in the exit > function > so that

[PATCH 1/1] drm/exynos: Fix de-registration ordering

2014-06-18 Thread Sachin Kamat
On Wed, Jun 18, 2014 at 10:53 AM, Inki Dae wrote: > On 2014? 06? 17? 20:38, Sachin Kamat wrote: >> 'exynos_drm_pdev' was not getting unregistered if platform_driver_register() >> failed. Fix the ordering to allow this. This also fixes the below warning by >> moving the #endif macro. While at it

[PATCH 1/1] drm/exynos: Fix de-registration ordering

2014-06-17 Thread Sachin Kamat
'exynos_drm_pdev' was not getting unregistered if platform_driver_register() failed. Fix the ordering to allow this. This also fixes the below warning by moving the #endif macro. While at it also fix the ordering in the exit function so that de-registration happens in opposite order of