regulator: fix device unlinking
Device links are refcounted, device_link_remove() has to be called as many times as device_link_add(). Signed-off-by: NGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录