Searched hist:"6 fad8ae45692a12596d88f6e26103e35624c65c7" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/potentiometer/ |
H A D | mcp4018.c | diff 6fad8ae45692a12596d88f6e26103e35624c65c7 Thu Sep 10 19:32:10 CEST 2020 Jonathan Cameron <Jonathan.Cameron@huawei.com> iio:potentiometer:mcp4018: Drop of_match_ptr and CONFIG_OF protections.
These prevent use of this driver with ACPI via PRP0001 and are an example of an anti pattern I'm trying to remove from IIO. Also use device_get_match_data() rather than devicetree only version.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Peter Rosin <peda@axentia.se> Link: https://lore.kernel.org/r/20200910173242.621168-7-jic23@kernel.org
|