aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2020-09-30 10:20:10 +0200
committerBartosz Golaszewski <[email protected]>2020-11-25 15:36:52 +0100
commit696868d0a79c211b51d0d0f7a1e6805e12d7fb42 (patch)
tree4bd090af37a40a3ae8ff998bb961bfa039946839 /drivers/platform/surface/aggregator/ssh_parser.c
parent0c2c7e1323b44548c10f899df565e4c4154600f1 (diff)
gpio: exar: unduplicate address and offset computation
Provide and use helpers for calculating the register address and bit offset instead of hand coding it in every function. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions