[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <000701ce8f45$22f32ac0$68d98040$@samsung.com>
Date: Fri, 02 Aug 2013 14:57:14 +0900
From: Jingoo Han <jg1.han@...sung.com>
To: 'Sachin Kamat' <sachin.kamat@...aro.org>
Cc: 'Samuel Ortiz' <sameo@...ux.intel.com>,
'Lee Jones' <lee.jones@...aro.org>,
linux-kernel@...r.kernel.org, Jingoo Han <jg1.han@...sung.com>
Subject: Re: [PATCH] mfd: menelaus: use NULL instead of 0
On Friday, August 02, 2013 2:53 PM, Sachin Kamat wrote:
> On 2 August 2013 11:20, Jingoo Han <jg1.han@...sung.com> wrote:
[...]
> >
> > mutex_lock(&the_menelaus->lock);
> > - if (vtg == 0)
> > + if (vtg == NULL)
>
> Instead you could just make this:
> if (!vtg)
Thank you for your comment. :)
It looks simpler. So, I will use it as you guide.
Best regards,
Jingoo Han
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists