summaryrefslogtreecommitdiff
path: root/include/soc/amlogic
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2024-12-09 19:04:35 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2025-01-15 19:59:31 +0300
commit72bb8275a3b0784a817e0371c49c0110d68bb7fb (patch)
tree15beae20b7bdfaee98d50e20e40e077b28bd7ed9 /include/soc/amlogic
parentccfba09ceecc3ac1f264e680120cef01aed6e75e (diff)
downloadlinux-72bb8275a3b0784a817e0371c49c0110d68bb7fb.tar.xz
reset: amlogic: aux: drop aux registration helper
Having the aux registration helper along with the registered driver is not great dependency wise. It does not allow the registering driver to be properly decoupled from the registered auxiliary driver. Drop the registration helper from the amlogic auxiliary reset driver. This will be handled in the registering clock driver to start with while a more generic solution is worked on. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20241209-meson-rst-aux-rework-v1-2-d2afb69cc72e@baylibre.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/soc/amlogic')
-rw-r--r--include/soc/amlogic/reset-meson-aux.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/soc/amlogic/reset-meson-aux.h b/include/soc/amlogic/reset-meson-aux.h
deleted file mode 100644
index d8a15d48c984..000000000000
--- a/include/soc/amlogic/reset-meson-aux.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __SOC_RESET_MESON_AUX_H
-#define __SOC_RESET_MESON_AUX_H
-
-#include <linux/err.h>
-
-struct device;
-struct regmap;
-
-#if IS_ENABLED(CONFIG_RESET_MESON_AUX)
-int devm_meson_rst_aux_register(struct device *dev,
- struct regmap *map,
- const char *adev_name);
-#else
-static inline int devm_meson_rst_aux_register(struct device *dev,
- struct regmap *map,
- const char *adev_name)
-{
- return 0;
-}
-#endif
-
-#endif /* __SOC_RESET_MESON_AUX_H */