From patchwork Tue Mar 26 04:43:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 15644 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 31BAB23E3E for ; Tue, 26 Mar 2013 04:54:59 +0000 (UTC) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by fiordland.canonical.com (Postfix) with ESMTP id C8888A1977F for ; Tue, 26 Mar 2013 04:54:58 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id lf10so5368971vcb.29 for ; Mon, 25 Mar 2013 21:54:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=1H2DyXR9nnCgCoBwgRfjb6IqJESyBS/+vyLr0rOXAFU=; b=Z8EZ1d/xpc0vM6pBWYbM+keLM0PZ0nJNqNOF2XOpNMK61X2rQcfY+9dYf3/pfbfW+8 rBLMDg/UbtIy8uqaVTD+3iSbK3wC+f0UsnwvADOU6E3Yh6q5iMC1WFC6YcFgcrGus+tu mbIyiUAnuKfeRdi8L3ovildMhjNgoo0naLS0EhqfCbPi3OpktNqRKnpNtcKD2h5Zck/1 ejVY/ZcLipW1HHXw7LqQNeEEm/PJXFFP33fD2VzybZCcbfBG2x7JAgJ/wFzlFTci6hw6 6L6lc6Qi+iEHkVdqehyj0HLk6+jkxQmOWM6cDm0F5q0JBvoZoge0CxLxofsOGSkAv88L Jknw== X-Received: by 10.58.29.101 with SMTP id j5mr18768998veh.26.1364273698343; Mon, 25 Mar 2013 21:54:58 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.59.4.204 with SMTP id cg12csp55190ved; Mon, 25 Mar 2013 21:54:57 -0700 (PDT) X-Received: by 10.68.204.234 with SMTP id lb10mr6918831pbc.64.1364273697184; Mon, 25 Mar 2013 21:54:57 -0700 (PDT) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id te10si16569934pab.38.2013.03.25.21.54.56 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Mar 2013 21:54:57 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.41; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f41.google.com with SMTP id mc8so1196874pbc.28 for ; Mon, 25 Mar 2013 21:54:56 -0700 (PDT) X-Received: by 10.68.218.72 with SMTP id pe8mr20892199pbc.112.1364273696561; Mon, 25 Mar 2013 21:54:56 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id mz8sm15999524pbc.9.2013.03.25.21.54.53 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 25 Mar 2013 21:54:55 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: sameo@linux.intel.com, sachin.kamat@linaro.org, patches@linaro.org, Jonghwa Lee Subject: [PATCH 1/1] mfd: max77686: Use NULL instead of 0 Date: Tue, 26 Mar 2013 10:13:36 +0530 Message-Id: <1364273016-18270-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQml7Y0HbzD91oE7wu+3syns8RjvLY3QT10CDCRKEr4V26E9kU248FepLiNzlZqutv6G9mwD 'data' is a pointer and hence use NULL instead of 0. Silences the following warning: drivers/mfd/max77686.c:49:50: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat Cc: Jonghwa Lee --- drivers/mfd/max77686.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c index 4d73963..1cbb176 100644 --- a/drivers/mfd/max77686.c +++ b/drivers/mfd/max77686.c @@ -46,7 +46,7 @@ static struct regmap_config max77686_regmap_config = { #ifdef CONFIG_OF static struct of_device_id max77686_pmic_dt_match[] = { - {.compatible = "maxim,max77686", .data = 0}, + {.compatible = "maxim,max77686", .data = NULL}, {}, };