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>
Showing
Please register or sign in to comment