regulator: as3722: Fix incorrect parameter initialization
authorSachin Kamat <sachin.kamat@samsung.com>
Tue, 24 Jun 2014 08:24:43 +0000 (13:54 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 24 Jun 2014 15:09:44 +0000 (16:09 +0100)
'name' field was re-initialized and getting overwritten in some
cases possibly due to a typo. Code inspection says the second time
it should be 'sname' instead of 'name'. Replace it.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found