Applied "IIO: ADC: stm32-dfsdm: fix static check warning" to the asoc tree
The patch
IIO: ADC: stm32-dfsdm: fix static check warning
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
1175d0f9f4031ce02845f6f843f58a9caaee7817Mon Sep 17 00:00:00 2001
From: Arnaud Pouliquen <[email protected]>
Date: Mon, 15 Jan 2018 10:00:26 +0100
Subject: [PATCH] IIO: ADC: stm32-dfsdm: fix static check warning
iio_priv does not return an error pointer, so check is not valid. Patch suppresses it.
--- drivers/iio/adc/stm32-dfsdm-adc.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/iio/adc/stm32-dfsdm-adc.c +0 -4
@@ -1099,10 +1099,6 @@ static int stm32_dfsdm_adc_probe(struct platform_device *pdev) } adc =iio_priv (iio); -if (IS_ERR (adc)) { -dev_err (dev,"%s: Failed to allocate ADC\n" , __func__); -return PTR_ERR (adc); - } adc->dfsdm =dev_get_drvdata (dev->parent); iio->dev.parent = dev;
Signature · 1 line
2.15.1