aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-07-18 08:00:16 -0400
committerLee Jones <lee.jones@linaro.org>2014-07-28 03:09:45 -0400
commit0a73b28f749262f88e87c2988c32d0153246969b (patch)
treed29d09a94b4c0f193fd94778aff796632314775d /drivers/mfd
parent9cb42e2a8ed06e91ce9d2c59fbae8d1185ebe2f7 (diff)
mfd: htc-i2cpld: Remove unused code
Removed code unused in this function. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/htc-i2cpld.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c
index d7b2a75aca3e..b44f0203983b 100644
--- a/drivers/mfd/htc-i2cpld.c
+++ b/drivers/mfd/htc-i2cpld.c
@@ -332,18 +332,13 @@ static int htcpld_setup_chip_irq(
332 int chip_index) 332 int chip_index)
333{ 333{
334 struct htcpld_data *htcpld; 334 struct htcpld_data *htcpld;
335 struct device *dev = &pdev->dev;
336 struct htcpld_core_platform_data *pdata;
337 struct htcpld_chip *chip; 335 struct htcpld_chip *chip;
338 struct htcpld_chip_platform_data *plat_chip_data;
339 unsigned int irq, irq_end; 336 unsigned int irq, irq_end;
340 int ret = 0; 337 int ret = 0;
341 338
342 /* Get the platform and driver data */ 339 /* Get the platform and driver data */
343 pdata = dev_get_platdata(dev);
344 htcpld = platform_get_drvdata(pdev); 340 htcpld = platform_get_drvdata(pdev);
345 chip = &htcpld->chip[chip_index]; 341 chip = &htcpld->chip[chip_index];
346 plat_chip_data = &pdata->chip[chip_index];
347 342
348 /* Setup irq handlers */ 343 /* Setup irq handlers */
349 irq_end = chip->irq_start + chip->nirqs; 344 irq_end = chip->irq_start + chip->nirqs;