summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-gpadc.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-28 09:21:58 +0000
committerLee Jones <lee.jones@linaro.org>2013-02-04 08:33:29 +0000
commit9d3f653f45b0ad299158d31207e4b747aa6df2c7 (patch)
tree114e6cbe234119862e6ff2aed2d45ef4969af399 /drivers/mfd/ab8500-gpadc.c
parentf825ebe522e974fec84525f12a43ec70e304e248 (diff)
downloadtalos-op-linux-9d3f653f45b0ad299158d31207e4b747aa6df2c7.tar.gz
talos-op-linux-9d3f653f45b0ad299158d31207e4b747aa6df2c7.zip
mfd: ab8500-gpadc: Remove unused 'struct ab8500_gpadc'
The ab8500_gpadc structure carries lots of important information which most functions make good use of. The initial expectation was that ab8500_gpadc_runtime_idle() would be no exception; however, this hasn't been the case to date. Let's remove it for now and add it back in only when we have a use for it. Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ab8500-gpadc.c')
-rw-r--r--drivers/mfd/ab8500-gpadc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c
index 44fa224a443e..b1f3561b023f 100644
--- a/drivers/mfd/ab8500-gpadc.c
+++ b/drivers/mfd/ab8500-gpadc.c
@@ -601,8 +601,6 @@ static int ab8500_gpadc_runtime_resume(struct device *dev)
static int ab8500_gpadc_runtime_idle(struct device *dev)
{
- struct ab8500_gpadc *gpadc = dev_get_drvdata(dev);
-
pm_runtime_suspend(dev);
return 0;
}
OpenPOWER on IntegriCloud