diff options
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | 2020-10-30 11:46:54 +0800 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-11-02 18:04:06 -0600 |
commit | 8308678ebde1cbca9fb628ba2e7b6e4ea0b15acf (patch) | |
tree | 3050bba2e1c4659ca56c349b5e7e8c6372d6634a /mm/zbud.c | |
parent | 3116a9931fa6fa067986a2cb0cc447c58530b1f0 (diff) |
hwspinlock: sprd: use module_platform_driver() instead postcore initcall
The hardware spinlock devices are defined in the DT, there's no need for
init calls order, remove boilerplate code by using module_platform_driver.
Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lore.kernel.org/r/20201030034654.15775-3-zhang.lyra@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions