Browse Source

dtoc: Correct quotes in fdt_util

The style is to use single quotes for strings where possible. Adjust this
function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass 8 years ago
parent
commit
20024daee5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/dtoc/fdt_util.py

+ 1 - 1
tools/dtoc/fdt_util.py

@@ -22,7 +22,7 @@ def fdt32_to_cpu(val):
     Return:
     Return:
         A native-endian integer value
         A native-endian integer value
     """
     """
-    return struct.unpack(">I", val)[0]
+    return struct.unpack('>I', val)[0]
 
 
 def EnsureCompiled(fname):
 def EnsureCompiled(fname):
     """Compile an fdt .dts source file into a .dtb binary blob if needed.
     """Compile an fdt .dts source file into a .dtb binary blob if needed.