regulator: core: increment open_count when regulator supply is set
When registering the regulator and setting supply for the regulator then increment open_count to reflect correct number of users. Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Showing
想要评论请 注册 或 登录