mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
regmap-irq: Drop map from handle_mask_sync() parameters
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. Reviewed-by: Linus Walleij <linus.walleij@linaro.org Signed-off-by: William Breathitt Gray <william.gray@linaro.org Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com Link: https://lore.kernel.org/r/1f44fb0fbcd3dccea3371215b00f1b9a956c1a12.1679323449.git.william.gray@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org
This commit is contained in:
committed by
Mark Brown
parent
b5c506b163
commit
69da5aa99e
@@ -1658,8 +1658,7 @@ struct regmap_irq_chip {
|
||||
|
||||
int (*handle_pre_irq)(void *irq_drv_data);
|
||||
int (*handle_post_irq)(void *irq_drv_data);
|
||||
int (*handle_mask_sync)(struct regmap *map, int index,
|
||||
unsigned int mask_buf_def,
|
||||
int (*handle_mask_sync)(int index, unsigned int mask_buf_def,
|
||||
unsigned int mask_buf, void *irq_drv_data);
|
||||
int (*set_type_virt)(unsigned int **buf, unsigned int type,
|
||||
unsigned long hwirq, int reg);
|
||||
|
||||
Reference in New Issue
Block a user