From patchwork Sun Dec 13 20:06:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TsODwqltZXRoIE3Dg8KhcnRvbg==?= X-Patchwork-Id: 67043 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nBDK6JMR004835 for ; Sun, 13 Dec 2009 20:06:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754089AbZLMUGT (ORCPT ); Sun, 13 Dec 2009 15:06:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754068AbZLMUGS (ORCPT ); Sun, 13 Dec 2009 15:06:18 -0500 Received: from mail01d.mail.t-online.hu ([84.2.42.6]:59893 "HELO mail01d.mail.t-online.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754067AbZLMUGS convert rfc822-to-8bit (ORCPT ); Sun, 13 Dec 2009 15:06:18 -0500 Received: from [192.168.1.64] (dsl5402C437.pool.t-online.hu [84.2.196.55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail01d.mail.t-online.hu (Postfix) with ESMTPSA id B3074758527; Sun, 13 Dec 2009 21:04:49 +0100 (CET) Message-ID: <4B254932.7080808@freemail.hu> Date: Sun, 13 Dec 2009 21:06:10 +0100 From: =?UTF-8?B?TsOpbWV0aCBNw6FydG9u?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.21) Gecko/20090402 SeaMonkey/1.1.16 MIME-Version: 1.0 To: srinivasa.deevi@conexant.com, V4L Mailing List Subject: [PATCH] cx231xx: use NULL when pointer is needed X-DCC-mail.t-online.hu-Metrics: mail01d.mail.t-online.hu 32711; Body=2 Fuz1=2 Fuz2=2 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r e2f13778b5dc linux/drivers/media/video/cx231xx/cx231xx-cards.c --- a/linux/drivers/media/video/cx231xx/cx231xx-cards.c Sat Dec 12 17:25:43 2009 +0100 +++ b/linux/drivers/media/video/cx231xx/cx231xx-cards.c Sun Dec 13 18:33:37 2009 +0100 @@ -69,19 +69,19 @@ .type = CX231XX_VMUX_TELEVISION, .vmux = CX231XX_VIN_3_1, .amux = CX231XX_AMUX_VIDEO, - .gpio = 0, + .gpio = NULL, }, { .type = CX231XX_VMUX_COMPOSITE1, .vmux = CX231XX_VIN_2_1, .amux = CX231XX_AMUX_LINE_IN, - .gpio = 0, + .gpio = NULL, }, { .type = CX231XX_VMUX_SVIDEO, .vmux = CX231XX_VIN_1_1 | (CX231XX_VIN_1_2 << 8) | CX25840_SVIDEO_ON, .amux = CX231XX_AMUX_LINE_IN, - .gpio = 0, + .gpio = NULL, } }, }, @@ -108,19 +108,19 @@ .type = CX231XX_VMUX_TELEVISION, .vmux = CX231XX_VIN_3_1, .amux = CX231XX_AMUX_VIDEO, - .gpio = 0, + .gpio = NULL, }, { .type = CX231XX_VMUX_COMPOSITE1, .vmux = CX231XX_VIN_2_1, .amux = CX231XX_AMUX_LINE_IN, - .gpio = 0, + .gpio = NULL, }, { .type = CX231XX_VMUX_SVIDEO, .vmux = CX231XX_VIN_1_1 | (CX231XX_VIN_1_2 << 8) | CX25840_SVIDEO_ON, .amux = CX231XX_AMUX_LINE_IN, - .gpio = 0, + .gpio = NULL, } }, }, @@ -148,19 +148,19 @@ .type = CX231XX_VMUX_TELEVISION, .vmux = CX231XX_VIN_3_1, .amux = CX231XX_AMUX_VIDEO, - .gpio = 0, + .gpio = NULL, }, { .type = CX231XX_VMUX_COMPOSITE1, .vmux = CX231XX_VIN_2_1, .amux = CX231XX_AMUX_LINE_IN, - .gpio = 0, + .gpio = NULL, }, { .type = CX231XX_VMUX_SVIDEO, .vmux = CX231XX_VIN_1_1 | (CX231XX_VIN_1_2 << 8) | CX25840_SVIDEO_ON, .amux = CX231XX_AMUX_LINE_IN, - .gpio = 0, + .gpio = NULL, } }, },