Skip to content
Commit c0ca3dbd authored by Duje Mihanović's avatar Duje Mihanović Committed by Dmitry Torokhov
Browse files

Input: imagis - use FIELD_GET where applicable



Instead of manually extracting certain bits from registers with binary
ANDs and shifts, the FIELD_GET macro can be used. With this in mind, the
*_SHIFT macros can be dropped.

Signed-off-by: default avatarDuje Mihanović <duje.mihanovic@skole.hr>
Link: https://lore.kernel.org/r/20240306-b4-imagis-keys-v3-1-2c429afa8420@skole.hr


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent a4735d40
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment