]> git.baikalelectronics.ru Git - uboot.git/commit
spi: ich: Move init function just above probe()
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:37 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:21 +0000 (11:44 +0800)
commit055e8702d1ae1eccf2a1c5dff087e08901b5ed01
tree6ddcc710d3768156712a7f02c6aa2a1430ae2557
parent8f5d3c5c1e6daa82916b665515cd0c82731a6af5
spi: ich: Move init function just above probe()

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/spi/ich.c