]> git.karo-electronics.de Git - linux-beck.git/commit
coresight: tmc: Get rid of mode parameter for helper routines
authorSuzuki K. Poulose <Suzuki.Poulose@arm.com>
Tue, 29 Nov 2016 16:47:16 +0000 (09:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 19:05:32 +0000 (20:05 +0100)
commitc38e505e27017268b86ca89e51582a57e67b39b7
tree6c78d2e983d1d52f9c12bfb7c340d3cdd7c17a38
parent297ab90f15f6222408380bbf4e8cbff57b02060d
coresight: tmc: Get rid of mode parameter for helper routines

Get rid of the superfluous mode parameter and the check for
the mode in tmc_etX_enable_sink_{perf/sysfs}. While at it, also
remove the unnecessary WARN_ON() checks.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-tmc-etf.c
drivers/hwtracing/coresight/coresight-tmc-etr.c