drm/exynos/ipp: remove type casting
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 3 Jul 2014 13:10:26 +0000 (15:10 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 3 Aug 2014 07:52:17 +0000 (16:52 +0900)
The patch replaces type casting with proper pointer.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c

index a1888e128f1d306e0c10934cb6042c83f4ce10e7..f3f114cddaa06000b3c6493722be553e1b96062c 100644 (file)
@@ -432,7 +432,7 @@ static struct drm_exynos_ipp_event_work *ipp_create_event_work(void)
        if (!event_work)
                return ERR_PTR(-ENOMEM);
 
-       INIT_WORK((struct work_struct *)event_work, ipp_sched_event);
+       INIT_WORK(&event_work->work, ipp_sched_event);
 
        return event_work;
 }