]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
mfd: ab8500-gpadc: Remove unused 'struct ab8500_gpadc'
authorLee Jones <lee.jones@linaro.org>
Mon, 28 Jan 2013 09:21:58 +0000 (09:21 +0000)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Feb 2013 08:33:29 +0000 (08:33 +0000)
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>
drivers/mfd/ab8500-gpadc.c

index 44fa224a443eba06d6881dc4eb14bf9657c48da4..b1f3561b023f0aaa4939bc469e3c0a40a718d0db 100644 (file)
@@ -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;
 }