hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/power/smartreflex.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * OMAP Smartreflex Defines and Routines
34 *
....@@ -11,10 +12,6 @@
1112 *
1213 * Copyright (C) 2007 Texas Instruments, Inc.
1314 * Lesly A M <x0080970@ti.com>
14
- *
15
- * This program is free software; you can redistribute it and/or modify
16
- * it under the terms of the GNU General Public License version 2 as
17
- * published by the Free Software Foundation.
1815 */
1916
2017 #ifndef __POWER_SMARTREFLEX_H
....@@ -306,9 +303,6 @@
306303 void omap_sr_disable(struct voltagedomain *voltdm);
307304 void omap_sr_disable_reset_volt(struct voltagedomain *voltdm);
308305
309
-/* API to register the pmic specific data with the smartreflex driver. */
310
-void omap_sr_register_pmic(struct omap_sr_pmic_data *pmic_data);
311
-
312306 /* Smartreflex driver hooks to be called from Smartreflex class driver */
313307 int sr_enable(struct omap_sr *sr, unsigned long volt);
314308 void sr_disable(struct omap_sr *sr);
....@@ -323,7 +317,5 @@
323317 static inline void omap_sr_disable(struct voltagedomain *voltdm) {}
324318 static inline void omap_sr_disable_reset_volt(
325319 struct voltagedomain *voltdm) {}
326
-static inline void omap_sr_register_pmic(
327
- struct omap_sr_pmic_data *pmic_data) {}
328320 #endif
329321 #endif