iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 26 Apr 2020 19:44:03 +0000 (21:44 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 May 2020 18:17:08 +0000 (19:17 +0100)
commitaad4742fbf0a560c25827adb58695a4497ffc204
tree9025117279fc61138abf63a8eb13cad102a2e9f5
parent115c215a7e5753ddf982c8760ce7904dd3fbb8ae
iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'

A call to 'vf610_dac_exit()' is missing in an error handling path.

Fixes: 1b983bf42fad ("iio: dac: vf610_dac: Add IIO DAC driver for Vybrid SoC")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/vf610_dac.c