diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-09 18:39:35 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-20 11:37:47 -0600 |
commit | 1216448573419fb53f37e31427b29f7ef197deef (patch) | |
tree | 3fb9947a85031ca98a12c666d119f168479735be /tools/binman/etype/u_boot_dtb.py | |
parent | 0b9116e31a6807a442f3a2ec887927536ce3aee3 (diff) |
binman: Use super() instead of specifying parent type
It is easier and less error-prone to use super() when the parent type is
needed. Update binman to remove the type names.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/binman/etype/u_boot_dtb.py')
-rw-r--r-- | tools/binman/etype/u_boot_dtb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/etype/u_boot_dtb.py b/tools/binman/etype/u_boot_dtb.py index e98350088f..65e71291d2 100644 --- a/tools/binman/etype/u_boot_dtb.py +++ b/tools/binman/etype/u_boot_dtb.py @@ -22,7 +22,7 @@ class Entry_u_boot_dtb(Entry_blob_dtb): binman to know which entries contain a device tree. """ def __init__(self, section, etype, node): - Entry_blob_dtb.__init__(self, section, etype, node) + super().__init__(section, etype, node) def GetDefaultFilename(self): return 'u-boot.dtb' |