memory: mtk-smi: Adjust some code position
authorYong Wu <yong.wu@mediatek.com>
Tue, 14 Sep 2021 11:36:55 +0000 (19:36 +0800)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 22 Sep 2021 06:40:10 +0000 (08:40 +0200)
commit534e0ad2ed4f9296a8c7ccb1a393bc4d5000dbad
tree08fc08a9ff6c092c066db2a085181bd543393313
parenta5c18986f404206fdbc27f208620dc13bffb5657
memory: mtk-smi: Adjust some code position

No functional change. Only move the code position to make the code more
readable.
1. Put the register smi-common above smi-larb. Prepare to add some others
   register setting.
2. Put mtk_smi_larb_unbind around larb_bind.
3. Sort the SoC data alphabetically. and put them in one line as the
   current kernel allow it.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Ikjoon Jang <ikjn@chromium.org>
Link: https://lore.kernel.org/r/20210914113703.31466-6-yong.wu@mediatek.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
drivers/memory/mtk-smi.c