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

2012-12-18 Thread Dan Carpenter
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-k

[PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. As per the kernel docs, clk_get() cannot return NULL. * clk_get - lookup and obtain a reference to a clock producer. * @dev: device for clock "consumer" * @id: clock consumer ID * * Returns a struct clk corresponding to the clock producer, or * valid IS_ERR(