lkml.org 
[lkml]   [2013]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] mfd: max77686: Use NULL instead of 0
From
On 26 March 2013 10:13, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> '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 <sachin.kamat@linaro.org>
> Cc: Jonghwa Lee <jonghwa3.lee@samsung.com>
> ---
> 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},
> {},
> };
>
> --
> 1.7.4.1
>

Ping Samuel :)

--
With warm regards,
Sachin


\
 
 \ /
  Last update: 2013-04-08 12:01    [W:0.032 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site