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 <[email protected]>
---
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 7776aff..88c2c26 100644
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -643,7 +643,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;
if (pdata && pdata->init != NULL)
--
1.7.2.5
Hi Krzysztof,
On Wed, May 23, 2012 at 05:30:48PM +0100, Krzysztof Wilczynski wrote:
> 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 <[email protected]>
> ---
> drivers/mfd/da9052-core.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
Applied to my for-next branch, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/