[PATCH 09/16] ARM: pxa: don't treat NULL clk as an error

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jan 11 16:14:36 EST 2011


On Tue, Jan 11, 2011 at 12:43:46PM +0000, Jamie Iles wrote:
> clk_get() returns a struct clk cookie to the driver and some platforms
> may return NULL if they only support a single clock.  clk_get() has only
> failed if it returns a ERR_PTR() encoded pointer.

Good catch.

Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>




More information about the linux-arm-kernel mailing list