Commit 719a4240 authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz
Browse files

mfd: Remove unused LDO supply field from WM8994 pdata



It's causing confusion with the regulator level field of the same name
and serves no useful function.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 39ecb037
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@
#include <linux/mfd/wm831x/gpio.h>
#include <linux/mfd/wm8994/pdata.h>

#include <linux/regulator/machine.h>

#include <sound/wm5100.h>
#include <sound/wm8996.h>
#include <sound/wm8962.h>
@@ -141,8 +143,8 @@ static struct wm8994_pdata wm8994_pdata = {
	},
	.irq_base = CODEC_IRQ_BASE,
	.ldo = {
		{ .supply = "WALLVDD" },
		{ .supply = "WALLVDD" },
		 { },
		 { },
	},
};

+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ struct wm8994_ldo_pdata {
	/** GPIOs to enable regulator, 0 or less if not available */
	int enable;

	const char *supply;
	const struct regulator_init_data *init_data;
};