diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2012-06-29 07:14:15 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-08 18:16:07 -0400 |
commit | 8517690f31a5d36cf1a55099cfb0bc1d96d0e6f2 (patch) | |
tree | 021f7aaf8f069ac32c3e6c46c82587d3aca41faa /drivers/mfd/da9052-core.c | |
parent | ae85f12c66dd9982486976fce08ab9475d1c5c4e (diff) |
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: 8614419451d88bf99fff7f5e468fe45f8450891e).
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/da9052-core.c')
-rw-r--r-- | drivers/mfd/da9052-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c index 1f1313c90573..2544910e1fd6 100644 --- a/drivers/mfd/da9052-core.c +++ b/drivers/mfd/da9052-core.c | |||
@@ -772,7 +772,6 @@ EXPORT_SYMBOL_GPL(da9052_regmap_config); | |||
772 | int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id) | 772 | int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id) |
773 | { | 773 | { |
774 | struct da9052_pdata *pdata = da9052->dev->platform_data; | 774 | struct da9052_pdata *pdata = da9052->dev->platform_data; |
775 | struct irq_desc *desc; | ||
776 | int ret; | 775 | int ret; |
777 | 776 | ||
778 | mutex_init(&da9052->auxadc_lock); | 777 | mutex_init(&da9052->auxadc_lock); |