[U-Boot] [PATCH v3 076/108] spi: ich: Move init function just above probe()

Bin Meng bmeng.cn at gmail.com
Tue Nov 19 13:52:59 UTC 2019


On Mon, Oct 21, 2019 at 11:40 AM Simon Glass <sjg at chromium.org> wrote:
>
> It is annoying to have some of the init code in a different part of the
> file. Move ich_init_controller() to just above probe() to keep things
> together.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  drivers/spi/ich.c | 122 +++++++++++++++++++++++-----------------------
>  1 file changed, 61 insertions(+), 61 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list