On Sat, Dec 7, 2019 at 12:51 PM Simon Glass <[email protected]> wrote: > > Use dev_get_driver_data() to obtain the device type. It has the same > effect and is shorter. > > Signed-off-by: Simon Glass <[email protected]> > Reviewed-by: Bin Meng <[email protected]> > --- > > 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!

