coresight-tpiu: use module_amba_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 9 Jan 2015 23:57:16 +0000 (16:57 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 2 Mar 2015 18:33:28 +0000 (11:33 -0700)
commit5d51a40f730179445e9a5bd7e38c4ded852be2eb
tree1d7c1037009dc33b731354ca54f94089f646aefe
parent6795bfcd5965bf14cbeab64301ebbed051665824
coresight-tpiu: 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>
(cherry picked from commit 3ff7ca051a43bf2dfd1eebdd6c771c4b7a276d8e)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/coresight/coresight-tpiu.c