Aidan MacDonald bdf9b86cd3
regmap-irq: Add get_irq_reg() callback
Replace the internal sub_irq_reg() function with a public callback
that drivers can use when they have more complex register layouts.
The default implementation is regmap_irq_get_irq_reg_linear(), used
if the chip doesn't provide its own callback.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Link: https://lore.kernel.org/r/20220623211420.918875-12-aidanmacdonald.0x0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-06-29 18:13:16 +01:00
..
2022-02-02 07:49:59 -07:00
2022-06-03 11:48:47 -07:00
2022-03-18 14:30:12 +01:00
2022-03-28 12:41:28 -07:00
2021-07-21 11:53:42 +02:00
2021-12-30 13:54:42 +01:00
2022-06-03 11:48:47 -07:00
2021-06-15 17:14:36 +02:00
2021-06-15 17:14:36 +02:00