diff options
| author | Heiner Kallweit <[email protected]> | 2017-12-05 23:16:55 +0100 |
|---|---|---|
| committer | Sudeep Holla <[email protected]> | 2018-02-23 15:12:41 +0000 |
| commit | 7cd49a264594251d87e504fe07dcb1fe2c99bbef (patch) | |
| tree | e29359b9f8d005aaf57a3e9b6260e617fea8f085 /lib/mpi/mpi-inline.h | |
| parent | a963d7c5264eaa544837ac8182a9eea55007a669 (diff) | |
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 <[email protected]>
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions