commit | 696868d0a79c211b51d0d0f7a1e6805e12d7fb42 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Wed Sep 30 10:20:10 2020 +0200 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Wed Nov 25 15:36:52 2020 +0100 |
tree | 4bd090af37a40a3ae8ff998bb961bfa039946839 | |
parent | 0c2c7e1323b44548c10f899df565e4c4154600f1 [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 <bgolaszewski@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>