]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/common/zm7300.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / board / freescale / common / zm7300.c
index be5953ad2d8000f306e0f2fa9c4d6196e48bd266..acd5343b21c088bd86c9276539cadea8ce0700a3 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2013 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 /* Power-One ZM7300 DPM */
@@ -140,9 +139,7 @@ int dpm_wrp(u8 r, u8 d)
 /* Uses the DPM command RRP */
 u8 zm_read(uchar reg)
 {
-       u8 d;
-       d = dpm_rrp(reg);
-       return d;
+       return dpm_rrp(reg);
 }
 
 /* ZM_write --