diff options
author | 2023-12-21 18:18:19 -0500 | |
---|---|---|
committer | 2024-01-04 16:30:04 +0100 | |
commit | 2e57cefc4477659527f7adab1f87cdbf60ef1ae6 (patch) | |
tree | 6724d9b0c60d3310b2a958a441a5b0fa3bec001f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | serial: sc16is7xx: add explicit return for some switch default cases (diff) | |
download | wireguard-linux-2e57cefc4477659527f7adab1f87cdbf60ef1ae6.tar.xz wireguard-linux-2e57cefc4477659527f7adab1f87cdbf60ef1ae6.zip |
serial: sc16is7xx: replace hardcoded divisor value with BIT() macro
To better show why the limit is what it is, since we have only 16 bits for
the divisor.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231221231823.2327894-13-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions