]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: ich: Convert to livetree
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:39 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:22 +0000 (11:44 +0800)
commit702b28a163ea8f6b80c9a850e8884a66bd059727
treee35566e85ad2fde871ca7b8c62210e77e475fcb9
parent17e754492ffd3e308763f2543c9b8e4f85fac2f1
spi: ich: Convert to livetree

Use dev_get_driver_data() to obtain the device type. It has the same
effect and is shorter.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/spi/ich.c