File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1218,7 +1218,7 @@ static int i915_pmu_cpu_offline(unsigned int cpu, struct hlist_node *node)
1218
1218
return 0 ;
1219
1219
}
1220
1220
1221
- static enum cpuhp_state cpuhp_slot = CPUHP_INVALID ;
1221
+ static enum cpuhp_state cpuhp_state = CPUHP_INVALID ;
1222
1222
1223
1223
int i915_pmu_init (void )
1224
1224
{
@@ -1232,28 +1232,28 @@ int i915_pmu_init(void)
1232
1232
pr_notice ("Failed to setup cpuhp state for i915 PMU! (%d)\n" ,
1233
1233
ret );
1234
1234
else
1235
- cpuhp_slot = ret ;
1235
+ cpuhp_state = ret ;
1236
1236
1237
1237
return 0 ;
1238
1238
}
1239
1239
1240
1240
void i915_pmu_exit (void )
1241
1241
{
1242
- if (cpuhp_slot != CPUHP_INVALID )
1243
- cpuhp_remove_multi_state (cpuhp_slot );
1242
+ if (cpuhp_state != CPUHP_INVALID )
1243
+ cpuhp_remove_multi_state (cpuhp_state );
1244
1244
}
1245
1245
1246
1246
static int i915_pmu_register_cpuhp_state (struct i915_pmu * pmu )
1247
1247
{
1248
- if (cpuhp_slot == CPUHP_INVALID )
1248
+ if (cpuhp_state == CPUHP_INVALID )
1249
1249
return - EINVAL ;
1250
1250
1251
- return cpuhp_state_add_instance (cpuhp_slot , & pmu -> cpuhp .node );
1251
+ return cpuhp_state_add_instance (cpuhp_state , & pmu -> cpuhp .node );
1252
1252
}
1253
1253
1254
1254
static void i915_pmu_unregister_cpuhp_state (struct i915_pmu * pmu )
1255
1255
{
1256
- cpuhp_state_remove_instance (cpuhp_slot , & pmu -> cpuhp .node );
1256
+ cpuhp_state_remove_instance (cpuhp_state , & pmu -> cpuhp .node );
1257
1257
}
1258
1258
1259
1259
void i915_pmu_register (struct drm_i915_private * i915 )
You can’t perform that action at this time.
0 commit comments