aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-17 17:55:12 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-20 09:03:14 +0100
commit5e2b006d800d7e5cc4a55047eebb6e5157e7c57f (patch)
treee4c1c68352ccfcc8fa4f98e9ba18d4e46ef36ec7 /drivers/iio/dac
parentiio: adc: twl4030-madc: Fix misnamed struct attribute (diff)
downloadlinux-dev-5e2b006d800d7e5cc4a55047eebb6e5157e7c57f.tar.xz
linux-dev-5e2b006d800d7e5cc4a55047eebb6e5157e7c57f.zip
iio: magnetometer: hmc5843: 'hmc5843_pm_ops' is unused in 1 of 3 files including hmc5843_core.h
We know that it's okay for 'hmc5843_pm_ops' to be unused here. Fixes the following W=1 kernel build warning(s): In file included from include/linux/device.h:25, from include/linux/iio/iio.h:10, from drivers/iio/magnetometer/hmc5843_core.c:16: drivers/iio/magnetometer/hmc5843.h:55:26: warning: ‘hmc5843_pm_ops’ defined but not used [-Wunused-const-variable=] 55 | static SIMPLE_DEV_PM_OPS(hmc5843_pm_ops, | ^~~~~~~~~~~~~~ include/linux/pm.h:354:25: note: in definition of macro ‘SIMPLE_DEV_PM_OPS’ 354 | const struct dev_pm_ops name = { | ^~~~ Cc: Josef Gajdusek <atx@atx.name> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions