[PATCH 1/1] clk: Fix incorrect return type in clk.c
Pankaj Jangra
jangra.pankaj9 at gmail.com
Wed Mar 13 13:09:18 EDT 2013
Hi.
On Wed, Mar 13, 2013 at 3:17 PM, Sachin Kamat <sachin.kamat at linaro.org> wrote:
> Return type of function clk_propagate_rate_change is a pointer.
> But 0 was being returned. Change it to NULL.
> Silences the following warning:
> drivers/clk/clk.c:977:24: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
> ---
> drivers/clk/clk.c | 2 +-
Looks good to me.
Reviewed-by: Pankaj Jangra <jangra.pankaj9 at gmail.com>
Regards,
Pankaj Jangra
More information about the linux-arm-kernel
mailing list