]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
gpio: tb10x: use module_platform_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 03:08:55 +0000 (11:08 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Oct 2013 18:26:17 +0000 (11:26 -0700)
commit85aa391528ad11bfdfa5e5dec1f3e91cfe8ab078
treeafd52192c127593306f1dc41c3f82ab49f584242
parente16dbf6011137343f51685c1e0c5be36a68fc501
gpio: tb10x: use module_platform_driver to simplify the code

module_platform_driver() makes the code simpler by eliminating
boilerplate code.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tb10x.c