commit | 702b28a163ea8f6b80c9a850e8884a66bd059727 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 06 21:42:39 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Dec 15 11:44:22 2019 +0800 |
tree | e35566e85ad2fde871ca7b8c62210e77e475fcb9 | |
parent | 17e754492ffd3e308763f2543c9b8e4f85fac2f1 [diff] |
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>