summaryrefslogtreecommitdiff
path: root/drivers/perf/amlogic/meson_g12_ddr_pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/perf/amlogic/meson_g12_ddr_pmu.c')
-rw-r--r--drivers/perf/amlogic/meson_g12_ddr_pmu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/perf/amlogic/meson_g12_ddr_pmu.c b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
index 15d52ab3276a..f33e9a456e85 100644
--- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c
+++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
@@ -355,11 +355,9 @@ static int g12_ddr_pmu_probe(struct platform_device *pdev)
return meson_ddr_pmu_create(pdev);
}
-static int g12_ddr_pmu_remove(struct platform_device *pdev)
+static void g12_ddr_pmu_remove(struct platform_device *pdev)
{
meson_ddr_pmu_remove(pdev);
-
- return 0;
}
static const struct of_device_id meson_ddr_pmu_dt_match[] = {