]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3c92bebfb92a87812390feab602454d6ba63876
tree203c09764b008f10d7ff0f3253d25eb6784cd839
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
regulator: stw481x: Remove unused fields from struct stw481x

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>
drivers/regulator/stw481x-vmmc.c
include/linux/mfd/stw481x.h