summaryrefslogtreecommitdiff
path: root/drivers/power/axp152.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/axp152.c')
-rw-r--r--drivers/power/axp152.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/axp152.c b/drivers/power/axp152.c
index cd07275d9f..c4b3fe58a6 100644
--- a/drivers/power/axp152.c
+++ b/drivers/power/axp152.c
@@ -75,7 +75,7 @@ int axp_init(void)
return rc;
if (ver != 0x05)
- return -1;
+ return -EINVAL;
return 0;
}