pinctrl: tb10x: use module_platform_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 23 Oct 2013 08:46:00 +0000 (10:46 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Oct 2013 08:46:00 +0000 (10:46 +0200)
commit7ddd183738fc39cbe3fbfa1954082d4189f14a5c
treeb906af246574891866f3f90940dba086c0b22d99
parent86467ff2ddca94c0d8d10b92b5916e68c0cad8a9
pinctrl: 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/pinctrl/pinctrl-tb10x.c