]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit14aef2919d06bd132f2e6f74f5ccb3caa4c92d54
tree203c09764b008f10d7ff0f3253d25eb6784cd839
parentc517d838eb7d07bbe9507871fab3931deccff539
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