From patchwork Wed Sep 25 11:29:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2941841 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E7DEE9F2B8 for ; Wed, 25 Sep 2013 11:30:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B99C3203F4 for ; Wed, 25 Sep 2013 11:30:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A5B36203E8 for ; Wed, 25 Sep 2013 11:30:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755207Ab3IYLaA (ORCPT ); Wed, 25 Sep 2013 07:30:00 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:38753 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755040Ab3IYL37 (ORCPT ); Wed, 25 Sep 2013 07:29:59 -0400 Received: by mail-pd0-f182.google.com with SMTP id r10so6006855pdi.27 for ; Wed, 25 Sep 2013 04:29:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9dLeSVSumungeg2yvahsiQ/FX4A1GmPCpne2Ml4+ICU=; b=juZrTYIPMu+JYcAVrpyIM8Oovv22EB/L18LHOxWRlQKG87cWITrYCkmo1EbRlqv/Ox EaAziwk4/ml7Nod54T40XD8VqO8LXhjZIeYoBqpuYc9ajKMobAmmc4EIHFw9PSzYLaZP 1rDha6+IS8HfWxlIQhP4i+Ty6R6iiJRrqhROseeGklHa0wIWP4eS0llqdec+P27830xH NjkDu8cFvMcwL+kCufZre7Y1DwZD9Op5vRC0kfxBy//dIkrVJzfezcq9ECBpgTFzXkjM wcs2WBelVRKhW75usyuUIGOqQxEn4Gqz1/CHE5mm7vo/LGW8F3gNAkqefpxVe7zigvnF nDvw== X-Gm-Message-State: ALoCoQkaX5dxSj8zOXmngIRVFCTTSHFTxBq0BvdZ9qetGI3tESUBO/I0aBGQjD7FHoEPu4pr0rHM X-Received: by 10.68.204.136 with SMTP id ky8mr9963925pbc.192.1380108599151; Wed, 25 Sep 2013 04:29:59 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id fy4sm47095730pbb.1.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Sep 2013 04:29:58 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, sachin.kamat@linaro.org, Steve Glendinning Subject: [PATCH 2/6] video: smscufx: Use NULL instead of 0 Date: Wed, 25 Sep 2013 16:59:50 +0530 Message-Id: <1380108594-19090-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380108594-19090-1-git-send-email-sachin.kamat@linaro.org> References: <1380108594-19090-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'info' is a pointer. Use NULL instead of 0. Signed-off-by: Sachin Kamat Cc: Steve Glendinning --- drivers/video/smscufx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/smscufx.c b/drivers/video/smscufx.c index e188ada..d513ed6 100644 --- a/drivers/video/smscufx.c +++ b/drivers/video/smscufx.c @@ -1147,7 +1147,7 @@ static void ufx_free_framebuffer_work(struct work_struct *work) fb_destroy_modelist(&info->modelist); - dev->info = 0; + dev->info = NULL; /* Assume info structure is freed after this point */ framebuffer_release(info);