diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-07 19:42:48 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-11 10:15:03 +0200 |
commit | 023670295ab6b65f5a84b8f214377c04c683809d (patch) | |
tree | 28be6443db6e455a5db605e87158f8f37a7c7c9c /drivers/leds | |
parent | 5656098e198e793f7b43a11c301b5025c6e51c9a (diff) | |
download | linux-3.10-023670295ab6b65f5a84b8f214377c04c683809d.tar.gz linux-3.10-023670295ab6b65f5a84b8f214377c04c683809d.tar.bz2 linux-3.10-023670295ab6b65f5a84b8f214377c04c683809d.zip |
mfd: 88pm860x: Convert to IORESOURCE_REG
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Tested-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-88pm860x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-88pm860x.c b/drivers/leds/leds-88pm860x.c index 61897cfeeda..ea2615b2508 100644 --- a/drivers/leds/leds-88pm860x.c +++ b/drivers/leds/leds-88pm860x.c @@ -197,7 +197,7 @@ static int pm860x_led_probe(struct platform_device *pdev) struct resource *res; int ret; - res = platform_get_resource(pdev, IORESOURCE_IO, 0); + res = platform_get_resource(pdev, IORESOURCE_REG, 0); if (res == NULL) { dev_err(&pdev->dev, "No I/O resource!\n"); return -EINVAL; |