pinctrl: stm32: use builtin_platform_driver
commit5b209efa3fe809831e1e043657536cc3353ce5e9
authorGeliang Tang <geliangtang@gmail.com>
Fri, 18 Nov 2016 14:12:30 +0000 (18 22:12 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Nov 2016 08:57:39 +0000 (22 09:57 +0100)
tree46c5f5b989c21527b6505189dc2c5725ee134e2b
parentb3cde198b17f504643cc1eeffc4623f03326f436
pinctrl: stm32: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32f429.c