pinctrl: mediatek: use builtin_platform_driver
authorGeliang Tang <geliangtang@gmail.com>
Fri, 18 Nov 2016 14:12:29 +0000 (22:12 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Nov 2016 09:17:28 +0000 (10:17 +0100)
commit4ecb65fb87b6591f90e1baef52c7f22757c30a2d
tree0aedbc19179c769a59d4cedc17ce9fa56940f2e1
parent5b209efa3fe809831e1e043657536cc3353ce5e9
pinctrl: mediatek: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt6397.c