diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-30 14:37:08 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-30 14:55:25 +0100 |
commit | 225dfc2552005ea8dd2b50f6a4a04a2b9ff52d3e (patch) | |
tree | 47897b15aa60dd56c32560eb6c572652107f8592 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 018a0c5845d6da8613a1448b169e96c81dce2531 (diff) |
can: tcan4x5x: remove mram_start and reg_offset from struct tcan4x5x_priv
Both struct tcan4x5x_priv::mram_start and struct tcan4x5x_priv::reg_offset are
only assigned once with a constant and then always used read-only. This patch
changes the driver to use the constant directly instead.
Link: https://lore.kernel.org/r/20201130133713.269256-2-mkl@pengutronix.de
Reviewed-by: Dan Murphy <dmurphy@ti.com>
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