linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] regmap-irq: Drop map from handle_mask_sync() parameters
@ 2023-03-19 21:02 William Breathitt Gray
  2023-03-19 21:02 ` [PATCH v2 1/2] gpio: 104-dio-48e: Implement struct dio48e_gpio William Breathitt Gray
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: William Breathitt Gray @ 2023-03-19 21:02 UTC (permalink / raw)
  To: Mark Brown, Linus Walleij, Bartosz Golaszewski
  Cc: linux-kernel, linux-gpio, Andy Shevchenko, William Breathitt Gray

Changes in v2:
 - Pull out 104-dio-48e refactor to a precursor patch

Remove the map parameter from the struct regmap_irq_chip callback
handle_mask_sync() because it can be passed via the irq_drv_data
parameter instead. The gpio-104-dio-48e driver is the only consumer of
this callback and is thus updated accordingly.

A couple pending patchsets also utilize handle_mask_sync() [0][1], so
it'll be useful to merge the changes in this series first to avoid
subsequent noise adjusting the dependent drivers.

[0] https://lore.kernel.org/r/cover.1677515341.git.william.gray@linaro.org/
[1] https://lore.kernel.org/r/cover.1678106722.git.william.gray@linaro.org/

William Breathitt Gray (2):
  gpio: 104-dio-48e: Implement struct dio48e_gpio
  regmap-irq: Drop map from handle_mask_sync() parameters

 drivers/base/regmap/regmap-irq.c |  5 ++---
 drivers/gpio/gpio-104-dio-48e.c  | 32 +++++++++++++++++++++++---------
 include/linux/regmap.h           |  3 +--
 3 files changed, 26 insertions(+), 14 deletions(-)


base-commit: 03810031c91dfe448cd116ee987d5dc4139006f4
-- 
2.39.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-03-20 14:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-19 21:02 [PATCH v2 0/2] regmap-irq: Drop map from handle_mask_sync() parameters William Breathitt Gray
2023-03-19 21:02 ` [PATCH v2 1/2] gpio: 104-dio-48e: Implement struct dio48e_gpio William Breathitt Gray
2023-03-20  0:18   ` kernel test robot
2023-03-19 21:02 ` [PATCH v2 2/2] regmap-irq: Drop map from handle_mask_sync() parameters William Breathitt Gray
2023-03-19 21:22 ` [PATCH v2 0/2] " Linus Walleij
2023-03-20 12:44 ` Andy Shevchenko
2023-03-19 21:18   ` William Breathitt Gray
2023-03-20 14:45     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).