Re: [PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL onclk_get

From: Dan Carpenter
Date: Tue Dec 18 2012 - 13:42:52 EST


On Wed, Dec 19, 2012 at 06:34:02AM +1300, Tony Prisk wrote:
> Resend to include mailing lists.
>
> As per the kernel docs, clk_get() cannot return NULL.
>

It returns NULL if CONFIG_HAVE_CLK is disabled.

regards,
dan carpenter

--
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/