aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJonathan Cameron2021-12-05 17:01:29 +0000
committerJonathan Cameron2021-12-12 17:12:28 +0000
commit3ac27afefd5dd6a53e830542b899f092a58b6b51 (patch)
treea5db5a06c3e57b276383c9885e8ef6ed634b3a6c /README
parent9020ef659885f2622cfb386cc229b6d618362895 (diff)
iio:dac:ad5755: Switch to generic firmware properties and drop pdata
Lars pointed out that platform data can also be supported via the generic properties interface, so there is no point in continuing to support it separately. Hence squish the linux/platform_data/ad5755.h header into the c file and drop accessing the platform data directly. Done by inspection only. Mostly completely mechanical with the exception of a few places where default value handling is cleaner done by first setting the value, then calling the firmware reading function but and not checking the return value, as opposed to reading firmware then setting the default if an error occurs. Part of general attempt to move all of IIO over to generic device properties, both to enable other firmware types and to remove drivers that can be the source of of_ specific behaviour in new drivers. Suggested-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions