coresight-funnel: use module_amba_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 9 Jan 2015 23:57:14 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:13 +0000 (05:04 -0800)
commita48f52e185f7f6da2c53f8dd4efda963c32b73f1
tree90a0f6ea2e7894d38bf12c24113ab12d38315bd7
parent52d6bbb9b06cac67ec3c016bc9758a1815022b2b
coresight-funnel: 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-funnel.c