coresight/etm3/4x: Consolidate hotplug state space

Even if both drivers are compiled in only one instance can run on a given
system depending on the available tracer cell.

So having seperate hotplug states for them is pointless.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: http://lkml.kernel.org/r/20161221192112.162765484@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

+2 -3
+2 -2
drivers/hwtracing/coresight/coresight-etm4x.c
··· 986 986 dev_err(dev, "ETM arch init failed\n"); 987 987 988 988 if (!etm4_count++) { 989 - cpuhp_setup_state_nocalls(CPUHP_AP_ARM_CORESIGHT4_STARTING, 989 + cpuhp_setup_state_nocalls(CPUHP_AP_ARM_CORESIGHT_STARTING, 990 990 "arm/coresight4:starting", 991 991 etm4_starting_cpu, etm4_dying_cpu); 992 992 ret = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, ··· 1037 1037 1038 1038 err_arch_supported: 1039 1039 if (--etm4_count == 0) { 1040 - cpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT4_STARTING); 1040 + cpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT_STARTING); 1041 1041 if (hp_online) 1042 1042 cpuhp_remove_state_nocalls(hp_online); 1043 1043 }
-1
include/linux/cpuhotplug.h
··· 119 119 CPUHP_AP_DUMMY_TIMER_STARTING, 120 120 CPUHP_AP_ARM_XEN_STARTING, 121 121 CPUHP_AP_ARM_CORESIGHT_STARTING, 122 - CPUHP_AP_ARM_CORESIGHT4_STARTING, 123 122 CPUHP_AP_ARM64_ISNDEP_STARTING, 124 123 CPUHP_AP_SMPCFD_DYING, 125 124 CPUHP_AP_X86_TBOOT_DYING,