patch "iio: adc: ti_am335x_adc: remove omitted iio_kfifo_free()" added to staging-linus
Subsystems (2)
This is a note to let you know that I've just added the patch titled
iio: adc: ti_am335x_adc: remove omitted iio_kfifo_free()
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
From 7e6d9788aa02333a4353058816d52b9a90aae0d3 Mon Sep 17 00:00:00 2001
From: Alexandru Ardelean <[email protected]>
Date: Thu, 3 Dec 2020 09:26:50 +0200
Subject: iio: adc: ti_am335x_adc: remove omitted iio_kfifo_free()
When the conversion was done to use devm_iio_kfifo_allocate(), a call to iio_kfifo_free() was omitted (to be removed).
This change removes it.
--- drivers/iio/adc/ti_am335x_adc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/iio/adc/ti_am335x_adc.c +1 -5
@@ -397,16 +397,12 @@ static int tiadc_iio_buffered_hardware_setup(struct device *dev, ret =devm_request_threaded_irq (dev, irq, pollfunc_th, pollfunc_bh, flags, indio_dev->name, indio_dev);if (ret) - goto error_kfifo_free; +return ret; indio_dev->setup_ops = setup_ops; indio_dev->modes |=INDIO_BUFFER_SOFTWARE ;return 0 ; - -error_kfifo_free: -iio_kfifo_free (indio_dev->buffer); -return ret; }static const char *const chan_name_ain[] = {
Signature · 1 line
2.30.0