From patchwork Fri May 10 11:35:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2549421 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 29BA7DF2A2 for ; Fri, 10 May 2013 11:48:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751906Ab3EJLsW (ORCPT ); Fri, 10 May 2013 07:48:22 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:40042 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905Ab3EJLsU (ORCPT ); Fri, 10 May 2013 07:48:20 -0400 Received: by mail-pa0-f42.google.com with SMTP id bj3so2868521pad.29 for ; Fri, 10 May 2013 04:48:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=jPC+0mBYdDWy2ZxvUuTHVI0gNq35rMNZogd3yJhN4LY=; b=BrduCQgeUBydDmuQ3lQcuLkJ5+i55X3h1B/w1TUak+JoZ1xaawRMSxxCpiUzMO19m4 IxUMXO3Dj0uvNYjDCutiqgPbUS16ZZ55pBgTRnu8XJOUq9uhnIczCR7pIQc40E2KlLef DkNE3cIPT1eQ4whv9H55CFsAc8ADjcGwwza6MNuZ0uB6AGI/pG1AM7HuUzjf0/aYmdQX GtNGNdQinh4pwExznaraRCzCpHY1BeUTfdpFCBKbbHcNu3X+B3cj3FswFyQ7aZCT1iBd ShpU5lAZO0uAior8sDnP+Gfs3fbvx3G3Lzw2h2423hQ+Myn4E3a0MPspXDVHKLw4yr3M mN7w== X-Received: by 10.68.163.225 with SMTP id yl1mr17356487pbb.0.1368186499918; Fri, 10 May 2013 04:48:19 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id wp6sm2426170pbc.29.2013.05.10.04.48.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 May 2013 04:48:19 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: steve.glendinning@shawell.net, tomi.valkeinen@ti.com, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [PATCH 1/1] video: smscufx: Use NULL instead of 0 Date: Fri, 10 May 2013 17:05:07 +0530 Message-Id: <1368185707-12852-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQnOJ2B0d5JB0HmkDNNiIS6XoMsFelfdpQBmGKU+GN8yByojl0VFBES8ls7umC1Ua7fZ/Aaz Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 'info' is a pointer. Use NULL instead of 0. Signed-off-by: Sachin Kamat Acked-by: 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 b2b33fc..e188ada 100644 --- a/drivers/video/smscufx.c +++ b/drivers/video/smscufx.c @@ -1622,7 +1622,7 @@ static int ufx_usb_probe(struct usb_interface *interface, { struct usb_device *usbdev; struct ufx_data *dev; - struct fb_info *info = 0; + struct fb_info *info = NULL; int retval = -ENOMEM; u32 id_rev, fpga_rev;