summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2018-04-08 21:44:01 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-15 21:15:55 +0200
commit4a5b45383ca371e123ba103d34d4b3b87616245c (patch)
treee92925f2dc34b483ad87c77a5fbe6f9502389035 /drivers/thermal
parentiio:dac:ad5686: Add AD5671R/75R/94/94R/95R/96/96R support (diff)
downloadlinux-4a5b45383ca371e123ba103d34d4b3b87616245c.tar.xz
linux-4a5b45383ca371e123ba103d34d4b3b87616245c.zip
iio: sca3000: Fix an error handling path in 'sca3000_probe()'
Use 'devm_iio_kfifo_allocate()' instead of 'iio_kfifo_allocate()' in order to simplify code and avoid a memory leak in an error path in 'sca3000_probe()'. A call to 'sca3000_unconfigure_ring()' was missing. Sent via the next merge window as unimportant bug and there are other patches dependent on it. 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 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions