diff options
author | Inki Dae <inki.dae@samsung.com> | 2011-10-14 13:29:52 +0900 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-10-18 10:01:19 +0100 |
commit | a88cab2bb15bbfe7ab39efc45ebd414d30dbb258 (patch) | |
tree | 6ae1ecfb19212f991953181007805b00f226dc57 /drivers/gpu/drm/exynos/exynos_drm_fimd.c | |
parent | ccf4d883f82e10053fa5806f2cd35401012bec84 (diff) | |
download | linux-a88cab2bb15bbfe7ab39efc45ebd414d30dbb258.tar.bz2 |
drm/exynos: fixed build warnings and comments.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fimd.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimd.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 68446b3bd8f0..4659c88cdd9b 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -90,8 +90,6 @@ struct fimd_context { static bool fimd_display_is_connected(struct device *dev) { - struct fimd_context *ctx = get_fimd_context(dev); - DRM_DEBUG_KMS("%s\n", __FILE__); /* TODO. */ @@ -110,8 +108,6 @@ static void *fimd_get_timing(struct device *dev) static int fimd_check_timing(struct device *dev, void *timing) { - struct fimd_context *ctx = get_fimd_context(dev); - DRM_DEBUG_KMS("%s\n", __FILE__); /* TODO. */ @@ -121,8 +117,6 @@ static int fimd_check_timing(struct device *dev, void *timing) static int fimd_display_power_on(struct device *dev, int mode) { - struct fimd_context *ctx = get_fimd_context(dev); - DRM_DEBUG_KMS("%s\n", __FILE__); /* TODO. */ @@ -499,7 +493,7 @@ static void fimd_finish_pageflip(struct drm_device *drm_dev, int crtc) list_for_each_entry_safe(e, t, &dev_priv->pageflip_event_list, base.link) { - /* if event's pipe isn't same as crtc then ignor it. */ + /* if event's pipe isn't same as crtc then ignore it. */ if (crtc != e->pipe) continue; @@ -525,7 +519,6 @@ static irqreturn_t fimd_irq_handler(int irq, void *dev_id) struct fimd_context *ctx = (struct fimd_context *)dev_id; struct exynos_drm_subdrv *subdrv = &ctx->subdrv; struct drm_device *drm_dev = subdrv->drm_dev; - struct device *dev = subdrv->manager.dev; struct exynos_drm_manager *manager = &subdrv->manager; u32 val; @@ -543,8 +536,6 @@ static irqreturn_t fimd_irq_handler(int irq, void *dev_id) static int fimd_subdrv_probe(struct drm_device *drm_dev, struct device *dev) { - struct drm_driver *drm_driver = drm_dev->driver; - DRM_DEBUG_KMS("%s\n", __FILE__); /* @@ -569,8 +560,6 @@ static int fimd_subdrv_probe(struct drm_device *drm_dev, struct device *dev) static void fimd_subdrv_remove(struct drm_device *drm_dev) { - struct drm_driver *drm_driver = drm_dev->driver; - DRM_DEBUG_KMS("%s\n", __FILE__); /* TODO. */ |