diff options
author | Liu Shixin <liushixin2@huawei.com> | 2020-09-14 09:54:02 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-09-29 15:53:11 +0300 |
commit | da2ab12f99d36b233d2bba0aecf55204c1bfa9e3 (patch) | |
tree | 703bc6c85df8c4d52e633905b292f3a6b78e7c8b /drivers/pinctrl/spear | |
parent | f4b5c348d65b7c76931a7f36e8240a85e4cbad29 (diff) | |
download | linux-da2ab12f99d36b233d2bba0aecf55204c1bfa9e3.tar.xz |
pinctrl: sprd: use module_platform_driver to simplify the code
module_platform_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Link: https://lore.kernel.org/r/20200914065402.3726408-1-liushixin2@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/spear')
0 files changed, 0 insertions, 0 deletions