ram: k3-am654: add support for LPDDR4 and DDR3L DDRs
[oweals/u-boot.git] / drivers / power / axp152.c
index cd07275d9ffd9e1ef671a4177e274e540766710f..361be6c31c7139515529c7013a56e26446de4b8f 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2012
  * Henrik Nordstrom <henrik@henriknordstrom.net>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <command.h>
@@ -75,7 +74,7 @@ int axp_init(void)
                return rc;
 
        if (ver != 0x05)
-               return -1;
+               return -EINVAL;
 
        return 0;
 }