regulator: ad5398 - fix a memory leak
In current implementation, the address return from regulator_register() is different from the address for regulator_unregister(). Signed-off-by: NAxel Lin <axel.lin@gmail.com> Acked-by: NSonic Zhang <sonic.zhang@analog.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Showing
想要评论请 注册 或 登录