Skip to content

Drop map from handle_mask_sync() parameters

William Breathitt Gray linux-gpio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 7 repliesIn review
  2. v22 patches 4 repliesSuperseded
  3. v11 patch 1 replySuperseded

Changes in v3 from the cover letter

- Inline dio48gpio->map usage in dio48e_handle_mask_sync() to avoid redefining map parameter

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpio: 104-dio-48e: Implement struct dio48e_gpiodrivers/gpio/gpio-104-dio-48e.c+24 -115 replies
2/2regmap-irq: Drop map from handle_mask_sync() parametersdrivers/base/regmap/regmap-irq.c drivers/gpio/gpio-104-dio-48e.c include/linux/regmap.h+4 -60 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus WalleijAndy Shevchenko
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Drop map from handle_mask_sync() parameters

Changes in v3:
- Inline dio48gpio->map usage in dio48e_handle_mask_sync() to avoid redefining map parameter

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/[email protected]/
[1] https://lore.kernel.org/r/[email protected]/

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  | 37 +++++++++++++++++++++-----------
 include/linux/regmap.h           |  3 +--
 3 files changed, 28 insertions(+), 17 deletions(-)

base-commit: 03810031c91dfe448cd116ee987d5dc4139006f4

Signature · 1 line
2.39.2