gpio: 104-dio-48e: Implement struct dio48e_gpio
authorWilliam Breathitt Gray <william.gray@linaro.org>
Mon, 20 Mar 2023 14:50:15 +0000 (10:50 -0400)
committerMark Brown <broonie@kernel.org>
Sun, 7 May 2023 23:50:01 +0000 (08:50 +0900)
commitb5c506b163d305a8b6d5ead562699d3fc9935498
treeac0234153f5a787224901f0b1c579b5e92e108c6
parentac9a78681b921877518763ba0e89202254349d1b
gpio: 104-dio-48e: Implement struct dio48e_gpio

A private data structure struct dio48e_gpio is introduced to facilitate
passage of the regmap and IRQ mask state for the device to the callback
dio48e_handle_mask_sync(). This is in preparation for the removal of the
handle_mask_sync() map parameter in a subsequent patch.

Signed-off-by: William Breathitt Gray <william.gray@linaro.org
Reviewed-by: Linus Walleij <linus.walleij@linaro.org
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com
Link: https://lore.kernel.org/r/ca710d14a710fee44f7911f2a84b6a55570561ee.1679323449.git.william.gray@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org
drivers/gpio/gpio-104-dio-48e.c