summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-05-26 10:16:15 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 19:47:29 +0200
commit099691081df40d8863cb2fb01ee64039633892dd (patch)
treee9820f62b502d1120ac1d7fcb953a33393b4a574 /drivers/regulator
parent92d57a73e41047bff7d0812e06f893567876d455 (diff)
downloadop-kernel-dev-099691081df40d8863cb2fb01ee64039633892dd.zip
op-kernel-dev-099691081df40d8863cb2fb01ee64039633892dd.tar.gz
regulator: Fix 88pm8607.c printk format warning
Fix printk format warning (seen on x86_64) and change to unsigned output format: drivers/regulator/88pm8607.c:417: warning: format '%d' expects type 'int', but argument 3 has type 'resource_size_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/88pm8607.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c
index 1904be9..d63fddb 100644
--- a/drivers/regulator/88pm8607.c
+++ b/drivers/regulator/88pm8607.c
@@ -413,8 +413,8 @@ static int __devinit pm8607_regulator_probe(struct platform_device *pdev)
break;
}
if ((i < 0) || (i > PM8607_ID_RG_MAX)) {
- dev_err(&pdev->dev, "Failed to find regulator %d\n",
- res->start);
+ dev_err(&pdev->dev, "Failed to find regulator %llu\n",
+ (unsigned long long)res->start);
return -EINVAL;
}
info->i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion;
OpenPOWER on IntegriCloud