regulator: Remove a redundant device_remove_file call in create_regulator
We already have device_remove_file() in error path, no need to call it before goto link_name_err. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Showing
想要评论请 注册 或 登录