coresight-tmc: use module_amba_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 9 Jan 2015 23:57:15 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:13 +0000 (05:04 -0800)
commitd2e580c272d19afff768b56dd0f5d2095cb5a07c
tree2afa0cba578b0f9e2476c8402449dac915def1d2
parenta48f52e185f7f6da2c53f8dd4efda963c32b73f1
coresight-tmc: use module_amba_driver to simplify the code

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/coresight/coresight-tmc.c