commit | e26f87e5ca75a181b6da16dd835e57b329a2664f | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Thu Mar 29 12:31:14 2018 +0800 |
committer | Lee Jones <lee.jones@linaro.org> | Wed May 16 09:21:48 2018 +0100 |
tree | 8e38786ef2039a871ce08673af8338bcb2b66fc5 | |
parent | 531a469ead6ad1e79e8c84ffd4787c0747336e5a [diff] |
mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cells Previously we were open coding the interrupts for the various mfd cells. This made the code somewhat long due to pretty-formatting. This patch convert those into one-line declarations with DEFINE_RES_IRQ, making the code shorter and easier to read. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>