summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-05-03 09:31:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-05 23:39:17 +0300
commitbb2cff419d3253aac12e7513be2b0fd7ee11ad78 (patch)
tree8c4ec847841663e2b29340490b1cdfb7e1457010 /include/linux
parent08f643e0224222aa089265a72690187898cac3e7 (diff)
downloadlinux-bb2cff419d3253aac12e7513be2b0fd7ee11ad78.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions