regulator: rt4831: Add active_discharge_on to fix discharge API
authorChiYuan Huang <cy_huang@richtek.com>
Fri, 25 Mar 2022 01:26:17 +0000 (09:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 25 Mar 2022 16:09:31 +0000 (16:09 +0000)
commitaefe5fc3000a24869edbf7bb657adf28372ec158
tree8de3636d5eb4941178f64ddb56a6229c069724db
parent184ae0e32bc990bba203b60503df89c9f8865f13
regulator: rt4831: Add active_discharge_on to fix discharge API

To use set_discharge helper function, active_discharge_on need to be
added.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1648171577-9663-3-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rt4831-regulator.c