spi: tegra: don't treat NULL clk as an error
commit76d9cc454a8d0bb7484616a4b8136280068c8a8b
authorJamie Iles <jamie@jamieiles.com>
Mon, 10 Jan 2011 11:05:06 +0000 (10 11:05 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 10 Jan 2011 23:44:01 +0000 (10 16:44 -0700)
tree21658ce10c4c27c17676fa018c344169af566cf2
parente0e736fc0d33861335e2a132e4f688f7fd380c61
spi: tegra: don't treat NULL clk as an error

Some platforms have been known to return NULL from clk_get() if they
support only a single struct clk.  Whilst tegra doesn't do this, make
the drivers consistent with others.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_tegra.c