diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-09-23 08:06:18 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-09-24 12:57:32 +0100 |
commit | 245a396a9b1a67ac5c3228737c261b3e48708a2a (patch) | |
tree | 66c5a1c880e6837893d2caeed005d83fcf5c35f9 /net/vmw_vsock | |
parent | c65e3d6ef4bfdc4c8460509f08507cf7dc026974 (diff) | |
download | linux-245a396a9b1a67ac5c3228737c261b3e48708a2a.tar.gz linux-245a396a9b1a67ac5c3228737c261b3e48708a2a.tar.bz2 linux-245a396a9b1a67ac5c3228737c261b3e48708a2a.zip |
iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
If 'devm_regulator_get()' fails, we should go through the existing error
handling path instead of returning directly, as done is all the other
error handling paths in this function.
Fixes: 7cc97d77ee8a ("iio: adc: twl4030: Fix ADC[3:6] readings")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions