diff options
author | Vincent Mailhol <mailhol.vincent@wanadoo.fr> | 2022-02-12 16:07:37 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-02-24 10:26:04 +0300 |
commit | 2ae9856d70b64c3e7eccdb865e7ae77380699bd1 (patch) | |
tree | b2ea97fc4f795ed9760d5e3e6a7415bdbe2566f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2206fcbc1090bdcf7058d8c9bbc1a147c7359cfa (diff) | |
download | linux-2ae9856d70b64c3e7eccdb865e7ae77380699bd1.tar.xz |
can: etas_es58x: use BITS_PER_TYPE() instead of manual calculation
The input to the GENMASK() macro was calculated by hand. Replaced it
with a dedicated macro: BITS_PER_TYPE() which does the exact same job.
Link: https://lore.kernel.org/all/20220212130737.3008-1-mailhol.vincent@wanadoo.fr
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions