diff options
| author | Vincent Mailhol <[email protected]> | 2021-06-29 00:54:19 +0900 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2021-07-25 11:36:28 +0200 |
| commit | 7fcecf51c18fa7e58e21f1a32d6a8df0c6f85784 (patch) | |
| tree | 5103c47a89685ca7a285383f0715c9928aaf6ef1 /tools/perf/scripts/python | |
| parent | 004653f0abf202072e1d855d3556dff60784effc (diff) | |
can: etas_es58x: use sizeof and sizeof_field macros instead of constant values
Replace two constant values by a call to sizeof{,_field} on the
relevant field to make the logic easier to understand.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vincent Mailhol <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions