]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: add a new macro:REGMAP_IRQ_REG_LINE(_id, _reg_bits)
authorTony Xie <tony.xie@rock-chips.com>
Tue, 30 Oct 2018 10:07:56 +0000 (18:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 14 Nov 2018 22:20:45 +0000 (14:20 -0800)
commit194a7d8671504caa9cdf4f5e5ed86741e52a2f14
treecd92edbc17e84b16904ec38f23b69b4324e79b41
parenta9e80a095d95d1159b26f73bd6d9c2fadc7fb411
regmap: add a new macro:REGMAP_IRQ_REG_LINE(_id, _reg_bits)

if there are lots of irqs for a device and the register addresses for these
irqs is continuous, we can use this macro to initialize regmap_irq value.

Signed-off-by: Tony Xie <tony.xie@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regmap.h