summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/g762.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-11 11:34:46 +0100
committerMark Brown <broonie@kernel.org>2018-01-11 12:30:21 +0000
commit25140717414c319bcc44b5aac39357a52d0bc8e0 (patch)
treef4298f1b4a613605bb59408fe8f128134da1111e /drivers/hwmon/g762.c
parent9ae148f80a96a91b636ab0b57d24d4440b919817 (diff)
downloadlinux-25140717414c319bcc44b5aac39357a52d0bc8e0.tar.bz2
IIO: ADC: stm32-dfsdm: avoid unused-variable warning
Building with CONFIG_OF disabled produces a compiler warning: drivers/iio/adc/stm32-dfsdm-core.c: In function 'stm32_dfsdm_probe': drivers/iio/adc/stm32-dfsdm-core.c:245:22: error: unused variable 'pnode' [-Werror=unused-variable] This removes the variable and open-codes it in the only place it gets used to avoid that warning. Fixes: bed73904e76f ("IIO: ADC: add stm32 DFSDM core support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/hwmon/g762.c')
0 files changed, 0 insertions, 0 deletions