Commit 1b6ed6bf authored by Matti Vaittinen's avatar Matti Vaittinen Committed by Mark Brown

regulator: Drop unnecessary struct member

The irq_flags from the regulator IRQ helper description struct was never
used. The IRQ flags are passed as parameters to helper registration
instead.

Remove the unnecessary struct field.

Fixes: 7111c6d1 ("regulator: IRQ based event/error notification helpers")
Signed-off-by: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/5f6371e178453fa2b165da50452f7db4e986debb.1637736436.git.matti.vaittinen@fi.rohmeurope.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent cff6f593
......@@ -554,7 +554,6 @@ struct regulator_irq_data {
*/
struct regulator_irq_desc {
const char *name;
int irq_flags;
int fatal_cnt;
int reread_ms;
int irq_off_ms;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment