arm64: perf: Terminate PMU assignment statements with semicolons
authorWill Deacon <will.deacon@arm.com>
Fri, 5 Oct 2018 12:26:21 +0000 (13:26 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 21 Nov 2018 13:16:33 +0000 (13:16 +0000)
As a hangover from when this code used a designated initialiser, we've
been using commas to terminate the arm_pmu field assignments. Whilst
harmless, it's also weird, so replace them with semicolons instead.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/perf_event.c

index e213f8e867f65fa63ae84cac48555aaffb1794af..ac1c5c41501d3aebc4617871a8c182b558886189 100644 (file)
@@ -1109,16 +1109,16 @@ static int armv8_pmu_init(struct arm_pmu *cpu_pmu)
        if (ret)
                return ret;
 
-       cpu_pmu->handle_irq             = armv8pmu_handle_irq,
-       cpu_pmu->enable                 = armv8pmu_enable_event,
-       cpu_pmu->disable                = armv8pmu_disable_event,
-       cpu_pmu->read_counter           = armv8pmu_read_counter,
-       cpu_pmu->write_counter          = armv8pmu_write_counter,
-       cpu_pmu->get_event_idx          = armv8pmu_get_event_idx,
-       cpu_pmu->clear_event_idx        = armv8pmu_clear_event_idx,
-       cpu_pmu->start                  = armv8pmu_start,
-       cpu_pmu->stop                   = armv8pmu_stop,
-       cpu_pmu->reset                  = armv8pmu_reset,
+       cpu_pmu->handle_irq             = armv8pmu_handle_irq;
+       cpu_pmu->enable                 = armv8pmu_enable_event;
+       cpu_pmu->disable                = armv8pmu_disable_event;
+       cpu_pmu->read_counter           = armv8pmu_read_counter;
+       cpu_pmu->write_counter          = armv8pmu_write_counter;
+       cpu_pmu->get_event_idx          = armv8pmu_get_event_idx;
+       cpu_pmu->clear_event_idx        = armv8pmu_clear_event_idx;
+       cpu_pmu->start                  = armv8pmu_start;
+       cpu_pmu->stop                   = armv8pmu_stop;
+       cpu_pmu->reset                  = armv8pmu_reset;
        cpu_pmu->set_event_filter       = armv8pmu_set_event_filter;
        cpu_pmu->filter_match           = armv8pmu_filter_match;