commit | c38e505e27017268b86ca89e51582a57e67b39b7 | [log] [tgz] |
---|---|---|
author | Suzuki K. Poulose <Suzuki.Poulose@arm.com> | Tue Nov 29 09:47:16 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 29 20:05:32 2016 +0100 |
tree | 6c78d2e983d1d52f9c12bfb7c340d3cdd7c17a38 | |
parent | 297ab90f15f6222408380bbf4e8cbff57b02060d [diff] |
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>