commit | a764ff77d697a4a13e69b3379cc613f7409c6b9a | [log] [tgz] |
---|---|---|
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | Wed Nov 24 09:17:13 2021 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Nov 24 12:57:30 2021 +0000 |
tree | 85c15bedf4737a4b60e18a9d86438d5f2f999c4a | |
parent | 6fadec4c5561e2fbe1dfa8a7da9bc58d094a8f04 [diff] |
regulator: irq_helper: Provide helper for trivial IRQ notifications Provide a generic map_event helper for regulators which have a notification IRQ with single, well defined purpose. Eg, IRQ always indicates exactly one event for exactly one regulator device. For such IRQs the mapping is trivial. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Link: https://lore.kernel.org/r/603b7ed1938013a00371c1e7ccc63dfb16982b87.1637736436.git.matti.vaittinen@fi.rohmeurope.com Signed-off-by: Mark Brown <broonie@kernel.org>