[PATCH 15/16] spi: dw_spi: don't treat NULL clk as an error

2011-01-11 Thread Jamie Iles
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. Cc: spi-devel-general@lists.sourceforge.net Signed-off-by: Jamie Iles ja...@jamieiles.com ---

Re: [PATCH 15/16] spi: dw_spi: don't treat NULL clk as an error

2011-01-11 Thread Grant Likely
On Tue, Jan 11, 2011 at 12:43:52PM +, 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. Cc: