Re: [PATCH] mfd: menelaus: use NULL instead of 0
From: Jingoo Han
Date: Fri Aug 02 2013 - 01:57:20 EST
On Friday, August 02, 2013 2:53 PM, Sachin Kamat wrote:
> On 2 August 2013 11:20, Jingoo Han <jg1.han@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/