diff options
author | 2017-12-05 23:16:55 +0100 | |
---|---|---|
committer | 2018-02-23 15:12:41 +0000 | |
commit | 7cd49a264594251d87e504fe07dcb1fe2c99bbef (patch) | |
tree | e29359b9f8d005aaf57a3e9b6260e617fea8f085 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | firmware: arm_scpi: improve struct dvfs_info to make code better readable (diff) | |
download | wireguard-linux-7cd49a264594251d87e504fe07dcb1fe2c99bbef.tar.xz wireguard-linux-7cd49a264594251d87e504fe07dcb1fe2c99bbef.zip |
firmware: arm_scpi: improve handling of protocol and firmware version subfields
By using FIELD_GET and proper masks we can avoid quite some shifting
and masking macro magic and make the code better readable.
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions