gpio: vf610: use builtin_platform_driver
authorGeliang Tang <geliangtang@gmail.com>
Wed, 23 Nov 2016 14:47:48 +0000 (22:47 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Nov 2016 15:19:02 +0000 (16:19 +0100)
commitdf950da188f7209a640f6eb3afda171a5afdf71f
tree8daa947faaad6406c13f38da4e7fd28b85f74e95
parent1d2b2ac05ac6ea59b78e1e239180e69ce25cc85a
gpio: vf610: 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/gpio/gpio-vf610.c