]> git.dujemihanovic.xyz Git - u-boot.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)
commit674990c0dc21ecedaddb1f923455027bd489914c
tree6ddcc710d3768156712a7f02c6aa2a1430ae2557
parente8ac6ffe0459a8e89dab5e4f1878ad07a05ee4e2
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