]> git.baikalelectronics.ru Git - 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)
commit140b014ff4c5cb7279f8b8b4da9dc494b7f0987a
treeafd52192c127593306f1dc41c3f82ab49f584242
parent85db606b71a60ea6955a6cd0f12a411cd4ba0d1c
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