gpio: etraxfs: use builtin_platform_driver
authorGeliang Tang <geliangtang@gmail.com>
Fri, 18 Nov 2016 14:12:27 +0000 (22:12 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Nov 2016 09:14:22 +0000 (10:14 +0100)
commit6f1bd54ca49cdd4f98386212c8029e2d5b9f7865
tree7f4ccb88732f954deaef432da76eea52df41a2f4
parent3107d572349f3d45b531bff4243dc6f1b630dedc
gpio: etraxfs: 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-etraxfs.c