aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mobile_lcdcfb.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-11-26 19:38:43 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-01-17 03:57:38 -0500
commit40af1eb5a73c16fc8270d45b8c37e3c75f107eb4 (patch)
tree2a5a5e622ffd513904f2894c2a7c44c5b6db3d9c /drivers/video/sh_mobile_lcdcfb.c
parent802eee95bde72fd0cd0f3a5b2098375a487d1eda (diff)
fbdev: sh_mobile_lcdcfb: Don't use plain 0 as NULL pointer
This fixes a sparse warning. Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: linux-fbdev@vger.kernel.org Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.c')
-rw-r--r--drivers/video/sh_mobile_lcdcfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index ab85ad6c25ec..2bcc84ac18c7 100644
--- a/drivers/video/sh_mobile_lcdcfb.c
+++ b/drivers/video/sh_mobile_lcdcfb.c
@@ -1227,7 +1227,7 @@ static void sh_mobile_lcdc_stop(struct sh_mobile_lcdc_priv *priv)
1227 /* Free the MERAM cache. */ 1227 /* Free the MERAM cache. */
1228 if (ch->cache) { 1228 if (ch->cache) {
1229 sh_mobile_meram_cache_free(priv->meram_dev, ch->cache); 1229 sh_mobile_meram_cache_free(priv->meram_dev, ch->cache);
1230 ch->cache = 0; 1230 ch->cache = NULL;
1231 } 1231 }
1232 1232
1233 } 1233 }