coresight-etm3x: use module_amba_driver to simplify the code
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 19 May 2015 16:55:06 +0000 (10:55 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 18:12:07 +0000 (11:12 -0700)
commit899867ee6c1ccaa4f4580c5b14e25505e6e17b7d
tree7faf04bd27835bd3af31c646523ae2e1d2aa3fa7
parent5625988e1e21261e20e18a64f275236eb47a9944
coresight-etm3x: use module_amba_driver to simplify the code

Using function "module_amba_driver()" makes the code simpler by
eliminating boilerplate code.

Wei Yongjun sent out a set of patches addressing those in all the
coresight driver but missed ETMv3.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm3x.c