spi: ich: Convert to livetree
Use dev_get_driver_data() to obtain the device type. It has the same effect and is shorter. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
Showing
想要评论请 注册 或 登录
Use dev_get_driver_data() to obtain the device type. It has the same effect and is shorter. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>