summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-07-18 17:30:16 +0530
committerLee Jones <lee.jones@linaro.org>2014-07-28 08:09:45 +0100
commit0a73b28f749262f88e87c2988c32d0153246969b (patch)
treed29d09a94b4c0f193fd94778aff796632314775d /drivers/mfd
parent9cb42e2a8ed06e91ce9d2c59fbae8d1185ebe2f7 (diff)
downloadop-kernel-dev-0a73b28f749262f88e87c2988c32d0153246969b.zip
op-kernel-dev-0a73b28f749262f88e87c2988c32d0153246969b.tar.gz
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 d7b2a75..b44f020 100644
--- a/drivers/mfd/htc-i2cpld.c
+++ b/drivers/mfd/htc-i2cpld.c
@@ -332,18 +332,13 @@ static int htcpld_setup_chip_irq(
int chip_index)
{
struct htcpld_data *htcpld;
- struct device *dev = &pdev->dev;
- struct htcpld_core_platform_data *pdata;
struct htcpld_chip *chip;
- struct htcpld_chip_platform_data *plat_chip_data;
unsigned int irq, irq_end;
int ret = 0;
/* Get the platform and driver data */
- pdata = dev_get_platdata(dev);
htcpld = platform_get_drvdata(pdev);
chip = &htcpld->chip[chip_index];
- plat_chip_data = &pdata->chip[chip_index];
/* Setup irq handlers */
irq_end = chip->irq_start + chip->nirqs;
OpenPOWER on IntegriCloud