summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-05-03 08:31:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-05 22:39:17 +0200
commitbb2cff419d3253aac12e7513be2b0fd7ee11ad78 (patch)
tree8c4ec847841663e2b29340490b1cdfb7e1457010 /tools/perf/scripts/python/export-to-postgresql.py
parent08f643e0224222aa089265a72690187898cac3e7 (diff)
serial: pic32: simplify clk handling
struct pic32_sport::ref_clk is only set, but not read. That means we can remove it. And when we do so, pic32_enable_clock() and pic32_disable_clock() are simple wrappers around clk_prepare_enable() and clk_disable_unprepare() respectively. So we can remove the former two from the code and replace it by the latter two. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220503063122.20957-5-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions