regmap: Add generic macro to define regmap_irq
authorQipeng Zha <qipeng.zha@intel.com>
Mon, 14 Sep 2015 16:39:17 +0000 (00:39 +0800)
committerLee Jones <lee.jones@linaro.org>
Thu, 24 Sep 2015 17:03:38 +0000 (18:03 +0100)
commitb4fe8ba7a310da6a2b99e3abe67c7815198cde49
treec48d8fe596cf3e6a3392d9688c27cd695d90a23a
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
regmap: Add generic macro to define regmap_irq

Add REGMAP_IRQ_REG macro in regmap.h to define regmap_irq
structure easily for other driver module.

Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/regmap.h