]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Remove a redundant device_remove_file call in create_regulator
authorAxel Lin <axel.lin@gmail.com>
Fri, 5 Nov 2010 07:25:12 +0000 (15:25 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 30 Nov 2010 15:13:25 +0000 (15:13 +0000)
commitbbe48400cc971aff562fe59620d79ee83fb45faf
tree6068b9432ed1933ad5829039b5fd902076b8ef5d
parent9cf4ac085b1682fb274af6da60e2d42cb9371a4a
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: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c