spi-imx: don't access struct device directly but use dev_get_platdata
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 13 Dec 2009 08:02:09 +0000 (01:02 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 13 Dec 2009 08:02:09 +0000 (01:02 -0700)
commit980f3beeb68fd3b383908bac8a017b121df8ee29
treed9e347b5a0bb029191116ce6c36ef1e89c03dbdd
parent87f673e9ca468b98da5677cf43abdd09945f449d
spi-imx: don't access struct device directly but use dev_get_platdata

Also there is no casting needed to assign a void pointer.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_imx.c