diff options
| author | Geert Uytterhoeven <[email protected]> | 2019-04-02 16:40:21 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-04-03 11:23:33 +0700 |
| commit | 5a4df21e83710dea9c6c4636f3183090b018cbcc (patch) | |
| tree | 15ff5c54a88561256af55a17551ab1a44e601917 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | af0e6242909c3c4297392ca3e94eff1b4db71a97 (diff) | |
spi: sh-msiof: Use BIT() and GENMASK()
Improve maintainability by converting the register bit, bitmask, and
bitfield definitions from hexadecimal constants to constructs using
BIT(), GENMASK(), or "val << shift".
Suggested-by: Simon Horman <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions