Commit 3d4d1266 authored by Linus Walleij's avatar Linus Walleij Committed by Lee Jones
Browse files

mfd: ab8500: Drop debugfs module



This debugfs isn't used by anyone, if we want to dump the contents
of registers we should just convert the driver to regmap instead.
I'm also excluding this from the device tree bindings when converting
to YAML because it is not a real device, and device trees should
only contain real physical devices.

Delete it.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220212214724.681530-1-linus.walleij@linaro.org
parent 6ceb5f17
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1297,14 +1297,6 @@ config AB8500_CORE
	  the irq_chip parts for handling the Mixed Signal chip events.
	  This chip embeds various other multimedia functionalities as well.

config AB8500_DEBUG
	bool "Enable debug info via debugfs"
	depends on AB8500_GPADC && DEBUG_FS
	default y if DEBUG_FS
	help
	  Select this option if you want debug information using the debug
	  filesystem, debugfs.

config MFD_DB8500_PRCMU
	bool "ST-Ericsson DB8500 Power Reset Control Management Unit"
	depends on UX500_SOC_DB8500
+0 −1
Original line number Diff line number Diff line
@@ -177,7 +177,6 @@ obj-$(CONFIG_MFD_PCF50633) += pcf50633.o
obj-$(CONFIG_PCF50633_ADC)	+= pcf50633-adc.o
obj-$(CONFIG_PCF50633_GPIO)	+= pcf50633-gpio.o
obj-$(CONFIG_ABX500_CORE)	+= abx500-core.o
obj-$(CONFIG_AB8500_DEBUG)	+= ab8500-debugfs.o
obj-$(CONFIG_MFD_DB8500_PRCMU)	+= db8500-prcmu.o
# ab8500-core need to come after db8500-prcmu (which provides the channel)
obj-$(CONFIG_AB8500_CORE)	+= ab8500-core.o ab8500-sysctrl.o
+0 −20
Original line number Diff line number Diff line
@@ -613,10 +613,6 @@ static const struct mfd_cell ab8500_bm_devs[] = {
};

static const struct mfd_cell ab8500_devs[] = {
#ifdef CONFIG_DEBUG_FS
	MFD_CELL_OF("ab8500-debug",
		    NULL, NULL, 0, 0, "stericsson,ab8500-debug"),
#endif
	MFD_CELL_OF("ab8500-sysctrl",
		    NULL, NULL, 0, 0, "stericsson,ab8500-sysctrl"),
	MFD_CELL_OF("ab8500-ext-regulator",
@@ -652,11 +648,6 @@ static const struct mfd_cell ab8500_devs[] = {
};

static const struct mfd_cell ab9540_devs[] = {
#ifdef CONFIG_DEBUG_FS
	{
		.name = "ab8500-debug",
	},
#endif
	{
		.name = "ab8500-sysctrl",
	},
@@ -707,12 +698,6 @@ static const struct mfd_cell ab9540_devs[] = {

/* Device list for ab8505  */
static const struct mfd_cell ab8505_devs[] = {
#ifdef CONFIG_DEBUG_FS
	{
		.name = "ab8500-debug",
		.of_compatible = "stericsson,ab8500-debug",
	},
#endif
	{
		.name = "ab8500-sysctrl",
		.of_compatible = "stericsson,ab8500-sysctrl",
@@ -764,11 +749,6 @@ static const struct mfd_cell ab8505_devs[] = {
};

static const struct mfd_cell ab8540_devs[] = {
#ifdef CONFIG_DEBUG_FS
	{
		.name = "ab8500-debug",
	},
#endif
	{
		.name = "ab8500-sysctrl",
	},

drivers/mfd/ab8500-debugfs.c

deleted100644 → 0
+0 −2096

File deleted.

Preview size limit exceeded, changes collapsed.