From: Luke Kenneth Casson Leighton Date: Sun, 5 Aug 2018 16:45:49 +0000 (+0100) Subject: pep8 cleanup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d2b7679601d828ee7469f3b04725412e8d854fa;p=pinmux.git pep8 cleanup --- diff --git a/src/spec/ifaceprint.py b/src/spec/ifaceprint.py index 55b820d..ee6e9c0 100644 --- a/src/spec/ifaceprint.py +++ b/src/spec/ifaceprint.py @@ -81,7 +81,7 @@ def display_fns(of, bankspec, pins, function_names): for fname in fnidx: fnbase = find_fn(fname, fn_names) assert fnbase in function_names, "fn %s not in descriptions %s" % \ - (fname, str(function_names.keys())) + (fname, str(function_names.keys())) #print "name", fname, fnbase if fnbase != current_fn: if current_fn is not None: diff --git a/src/spec/m_class.py b/src/spec/m_class.py index 8ad6d5f..4d66106 100644 --- a/src/spec/m_class.py +++ b/src/spec/m_class.py @@ -104,11 +104,11 @@ def pinspec(): ps = PinSpec(pinbanks, fixedpins, function_names, {'lcd': {'bus': 'fastbus', - 'mmap': [['Cfg', 0x20000, 10] - ]}, + 'mmap': [['Cfg', 0x20000, 10] + ]}, 'jtag': {'bus': 'fastbus'}, 'fb': {'bus': 'fastbus'}, - }) + }) # Bank A, 0-15 ps.gpio("", ('A', 0), 0, 0, 16) @@ -326,7 +326,7 @@ def pinspec(): 'for example GL850G or FE1.1. ' 'Connects to 2/3/4G/LTE Modem, 2x USB-Camera (VC0345)', 'MMC0': 'internal, multiplexed with JTAG0\n' - 'and UART0, for debug purposes', + 'and UART0, for debug purposes', 'F1:IIS': 'I2C Audio, connect to AC97 Audio IC', 'TWI1': 'Connect to AC97 Audio IC', 'E2:QUART1': 'Connect to BT on AP6234/AP6335', @@ -467,7 +467,7 @@ def pinspec(): 'as well as USB Host or USB Device', 'ULPI0/8': 'USB2 Host, connect to ULPI PHY', 'MMC0': 'internal, multiplexed with JTAG0\n' - 'and UART0, for debug purposes', + 'and UART0, for debug purposes', 'C3:QUART0': 'Connect to HSPA UART', 'E2:QUART1': 'Connect to BT UART', 'E2:MMC2': 'Connect to WIFI',