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: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
Showing
想要评论请 注册 或 登录