aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1904be9149af..d63fddb0fbb0 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)
413 break; 413 break;
414 } 414 }
415 if ((i < 0) || (i > PM8607_ID_RG_MAX)) { 415 if ((i < 0) || (i > PM8607_ID_RG_MAX)) {
416 dev_err(&pdev->dev, "Failed to find regulator %d\n", 416 dev_err(&pdev->dev, "Failed to find regulator %llu\n",
417 res->start); 417 (unsigned long long)res->start);
418 return -EINVAL; 418 return -EINVAL;
419 } 419 }
420 info->i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion; 420 info->i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion;