On Mon, Oct 21, 2019 at 11:40 AM 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]> > --- > > Changes in v3: None > Changes in v2: None > > drivers/spi/ich.c | 22 +++++----------------- > 1 file changed, 5 insertions(+), 17 deletions(-) >
Reviewed-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

