gpio: mb86s7x: use builtin_platform_driver
authorGeliang Tang <geliangtang@gmail.com>
Fri, 18 Nov 2016 14:12:28 +0000 (22:12 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Nov 2016 09:16:17 +0000 (10:16 +0100)
commitd65aa4b67b4f47f303bdeaef1e4d42ef18e6b293
treef70256d4a33898f226997edb570e52a6d7e71deb
parent6f1bd54ca49cdd4f98386212c8029e2d5b9f7865
gpio: mb86s7x: 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-mb86s7x.c