Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8517690f authored by Krzysztof Wilczynski's avatar Krzysztof Wilczynski Committed by Samuel Ortiz
Browse files

mfd: Remove unused variable from da9052_device_init



This is to address the following warning during compilation time:

  drivers/mfd/da9052-core.c: In function ‘da9052_device_init’:
  drivers/mfd/da9052-core.c:646: warning: unused variable ‘desc’

This variable is indeed no longer in use (change can be traced back
to commit: 86144194).

Signed-off-by: default avatarKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent ae85f12c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -772,7 +772,6 @@ EXPORT_SYMBOL_GPL(da9052_regmap_config);
int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id)
{
	struct da9052_pdata *pdata = da9052->dev->platform_data;
	struct irq_desc *desc;
	int ret;

	mutex_init(&da9052->auxadc_lock);