[PATCH 2/3] coresight: tmc: Get rid of mode parameter for helper routines

2016-09-27 Thread Suzuki K Poulose
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 Signed-off-by: Suzuki K Poulose ---

[PATCH 2/3] coresight: tmc: Get rid of mode parameter for helper routines

2016-09-27 Thread Suzuki K Poulose
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 Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-tmc-etf.c | 18 +-