Cyril Roelandt d3601e56cf spi/sh-hspi: fix return value check in hspi_probe().
According to its documentation, clk_get() returns a "valid IS_ERR() condition
containing errno", so we should call IS_ERR() rather than a NULL check.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2012-12-19 15:11:41 +00:00
..
2012-12-06 14:02:53 +00:00
2012-12-17 17:11:32 +00:00
2011-06-06 01:16:30 -06:00
2011-09-21 09:41:48 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00