[U-Boot] [PATCH v3 078/108] spi: ich: Convert to livetree

Bin Meng bmeng.cn at gmail.com
Tue Nov 19 13:53:06 UTC 2019


On Mon, Oct 21, 2019 at 11:40 AM Simon Glass <sjg at 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 at 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 at gmail.com>


More information about the U-Boot mailing list