
19 Nov
2019
19 Nov
'19
2:53 p.m.
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass sjg@chromium.org wrote:
Use dev_get_driver_data() to obtain the device type. It has the same effect and is shorter.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3: None Changes in v2: None
drivers/spi/ich.c | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com