summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-12-21 14:19:54 -0500
committerThomas Gleixner <tglx@linutronix.de>2016-12-25 04:47:44 -0500
commit73c1b41e63f040e92669e61a02c7893933bfe743 (patch)
treecde9545d0866b1c0df3abf5b53b6e78a7b22e083 /drivers/bus
parent530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f (diff)
cpu/hotplug: Cleanup state names
When the state names got added a script was used to add the extra argument to the calls. The script basically converted the state constant to a string, but the cleanup to convert these strings into meaningful ones did not happen. Replace all the useless strings with 'subsys/xxx/yyy:state' strings which are used in all the other places already. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sebastian Siewior <bigeasy@linutronix.de> Link: http://lkml.kernel.org/r/20161221192112.085444152@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/arm-cci.c2
-rw-r--r--drivers/bus/arm-ccn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c
index 231633328dfa..c49da15d9790 100644
--- a/drivers/bus/arm-cci.c
+++ b/drivers/bus/arm-cci.c
@@ -1796,7 +1796,7 @@ static int __init cci_platform_init(void)
1796 int ret; 1796 int ret;
1797 1797
1798 ret = cpuhp_setup_state_multi(CPUHP_AP_PERF_ARM_CCI_ONLINE, 1798 ret = cpuhp_setup_state_multi(CPUHP_AP_PERF_ARM_CCI_ONLINE,
1799 "AP_PERF_ARM_CCI_ONLINE", NULL, 1799 "perf/arm/cci:online", NULL,
1800 cci_pmu_offline_cpu); 1800 cci_pmu_offline_cpu);
1801 if (ret) 1801 if (ret)
1802 return ret; 1802 return ret;
diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c
index aee83462b796..4d6a2b7e4d3f 100644
--- a/drivers/bus/arm-ccn.c
+++ b/drivers/bus/arm-ccn.c
@@ -1562,7 +1562,7 @@ static int __init arm_ccn_init(void)
1562 int i, ret; 1562 int i, ret;
1563 1563
1564 ret = cpuhp_setup_state_multi(CPUHP_AP_PERF_ARM_CCN_ONLINE, 1564 ret = cpuhp_setup_state_multi(CPUHP_AP_PERF_ARM_CCN_ONLINE,
1565 "AP_PERF_ARM_CCN_ONLINE", NULL, 1565 "perf/arm/ccn:online", NULL,
1566 arm_ccn_pmu_offline_cpu); 1566 arm_ccn_pmu_offline_cpu);
1567 if (ret) 1567 if (ret)
1568 return ret; 1568 return ret;