Re: [PATCH 08/16] ARM: samsung: serial: don't treat NULL clk as anerror

From: Russell King - ARM Linux
Date: Tue Jan 11 2011 - 16:14:41 EST


On Tue, Jan 11, 2011 at 12:43:45PM +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.

Acked-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

>
> Cc: Kukjin Kim <kgene.kim@xxxxxxxxxxx>
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Jamie Iles <jamie@xxxxxxxxxxxxx>
--
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/