diff options
| author | Su Yanjun <[email protected]> | 2021-01-22 16:13:34 +0800 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2021-01-27 10:01:46 +0100 |
| commit | cdc4c698e4be256634e722494dac0fa40e4137e2 (patch) | |
| tree | d3450f5b3b2379344db4a8b89bc13d30553978ff /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 22d63be91c5016207d0de25ed279707865f07e4f (diff) | |
can: mcp251xfd: replace sizeof(u32) with val_bytes in regmap
The sizeof(u32) is hardcoded. It's better to use the config value from the
regmap.
It increases the size of target object, but it's flexible when new mcp chip
need other val_bytes.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Su Yanjun <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions