[PATCH 1/2] powercap/drivers/dtpm: Remove unused function definition

From: Daniel Lezcano
Date: Tue Nov 23 2021 - 05:16:25 EST


The dtpm.h header file is exporting a function which is not
implemented neither needed. Remove it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
---
include/linux/dtpm.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/dtpm.h b/include/linux/dtpm.h
index 2890f6370eb9..d37e5d06a357 100644
--- a/include/linux/dtpm.h
+++ b/include/linux/dtpm.h
@@ -70,6 +70,4 @@ void dtpm_unregister(struct dtpm *dtpm);

int dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent);

-int dtpm_register_cpu(struct dtpm *parent);
-
#endif
--
2.25.1