diff options
author | 2020-09-29 12:10:04 +0200 | |
---|---|---|
committer | 2020-09-30 10:52:21 +0200 | |
commit | 42e9acc679105208e001a2911c0241d968ab68e5 (patch) | |
tree | e01dbf96376c33fd4c575943191f1ec633f0ec35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: mockup: use the generic 'gpio-line-names' property (diff) | |
download | linux-dev-42e9acc679105208e001a2911c0241d968ab68e5.tar.xz linux-dev-42e9acc679105208e001a2911c0241d968ab68e5.zip |
gpio: mockup: refactor the module init function
Let's move the code preparing the device properties into a separate
routine. This has the advantage of simplifying the error handling and
makes the indentation less deep.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions