
8 Dec
2019
8 Dec
'19
4:38 a.m.
On Sat, Dec 7, 2019 at 12:51 PM 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 Reviewed-by: Bin Meng bmeng.cn@gmail.com
Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None
drivers/spi/ich.c | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-)
applied to u-boot-x86/next, thanks!