regulator: stw481x: Remove unused fields from struct stw481x
authorAxel Lin <axel.lin@ingics.com>
Thu, 19 Mar 2015 23:53:06 +0000 (07:53 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 21 Mar 2015 01:05:56 +0000 (01:05 +0000)
The mutex lock is not used at all, remove it.
The *vmmc_regulator is not necessary, use a local variable in
stw481x_vmmc_regulator_probe() instead.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found