regmap: Add an IRQ_LINE macro to help defining regmap-irq tables
-----BEGIN PGP SIGNATURE-----

iQFHBAABCgAxFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlvsn9ATHGJyb29uaWVA
a2VybmVsLm9yZwAKCRAk1otyXVSH0MNRB/4/Ku5ep4duZHADSG+HyF4DcO47xEAY
rSI4mfVYrXzM3lb5afdqeDBp4SYQfmv8rETGZntKU+J9xjsuk5zRdCtbXJ+foBGP
2fAIo+cSOhrJ3jg9R5rqlv6v8Tif84vhkYz2hWbS/uw7cd+hh+EO7ix684R3Sw1/
HPv9BRCJUmsBgP3l9mlUzvFW4RxM05qeH8hjwCXeRUadYJCNxcJEB/SU/5EGHAe8
yXyOEAeNglOWA3Ji/Jw2edsDQ+1dHTdbqYsqU8PcDdNa4HMdRDBACz9ReA5S14l2
GwppyPexpW+2G8Cic0WItfwriZ0kSPfNcOU2XhBUMs04xsZOxoFuw4sd
=HLgY
-----END PGP SIGNATURE-----
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>
1 file changed