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>
Showing
Please register or sign in to comment