kernel_optimize_test/drivers/iio/dac
Nuno Sá ab4755ea91 iio: ad5770r: make devicetree property reading consistent
commit 26df977a909f818b7d346b3990735513e7e0bf93 upstream.

The bindings file for this driver is defining the property as 'reg' but
the driver was reading it with the 'num' name. The bindings actually had
the 'num' property when added in
commit ea52c21268 ("dt-bindings: iio: dac: Add docs for AD5770R DAC")
and then changed it to 'reg' in
commit 2cf3818f18 ("dt-bindings: iio: dac: AD5570R fix bindings errors").
However, both these commits landed in v5.7 so the assumption is
that either 'num' is not being used or if it is, the validations were not
done.

Anyways, if someone comes back yelling about this, we might just support
both of the properties in the future. Not ideal, but that's life...

Fixes: 2cf3818f18 ("dt-bindings: iio: dac: AD5570R fix bindings errors")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210818080525.62790-1-nuno.sa@analog.com
Cc: Stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-18 14:03:51 +01:00
..
ad5064.c iio: dac: ad5064: Fix a few kerneldoc misdemeanours 2020-09-21 18:41:36 +01:00
ad5360.c
ad5380.c
ad5421.c
ad5446.c iio: dac: ad5446: Fix ad5622_write() return value 2021-11-18 14:03:51 +01:00
ad5449.c
ad5504.c iio: ad5504: Fix setting power-down state 2021-01-27 11:55:12 +01:00
ad5592r-base.c Second set of features and cleanups for IIO in 5.10 2020-09-22 09:45:11 +02:00
ad5592r-base.h
ad5592r.c iio:dac:ad5592r: Drop of_match_ptr and ACPI_PTR protections. 2020-09-21 18:41:27 +01:00
ad5593r.c iio:dac:ad5593r: Drop of_match_ptr and ACPI_PTR protections. 2020-09-21 18:41:27 +01:00
ad5624r_spi.c iio: dac: ad5624r: Fix incorrect handling of an optional regulator. 2021-09-18 13:40:18 +02:00
ad5624r.h
ad5686-spi.c
ad5686.c iio: dac: ad5686: Constify static struct iio_chan_spec 2020-09-03 19:40:47 +01:00
ad5686.h iio: dac: ad5686: Constify static struct iio_chan_spec 2020-09-03 19:40:47 +01:00
ad5696-i2c.c
ad5755.c
ad5758.c
ad5761.c
ad5764.c
ad5770r.c iio: ad5770r: make devicetree property reading consistent 2021-11-18 14:03:51 +01:00
ad5791.c
ad7303.c iio: dac: ad7303: Complete 'struct ad7303_state' doc 2020-09-21 18:41:36 +01:00
ad8801.c
cio-dac.c
dpot-dac.c Merge 5.9-rc5 into staging-next 2020-09-14 06:57:52 +02:00
ds4424.c
Kconfig
lpc18xx_dac.c
ltc1660.c
ltc2632.c
m62332.c
Makefile
max517.c
max5821.c
mcp4725.c iio:dac:mcp4725: drop of_match_ptr and use generic fw properties 2020-09-21 18:41:28 +01:00
mcp4922.c
stm32-dac-core.c iio: adc: stm32: Simplify with dev_err_probe() 2020-09-03 19:40:50 +01:00
stm32-dac-core.h
stm32-dac.c iio: stm32-dac: Replace indio_dev->mlock with own device lock 2020-09-16 18:51:40 +01:00
ti-dac082s085.c iio:dac:ti-dac082s085: Drop of_match_ptr and CONFIG_OF protections 2020-09-21 18:41:28 +01:00
ti-dac5571.c iio: dac: ti-dac5571: fix an error code in probe() 2021-10-20 11:45:02 +02:00
ti-dac7311.c
ti-dac7612.c iio: dac: ti-dac7612: Replace indio_dev->mlock with own device lock 2020-09-16 18:56:22 +01:00
vf610_dac.c