]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iio:adc:hi8435: Drop of_match_ptr protection.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jun 2020 12:36:35 +0000 (13:36 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:08 +0000 (20:24 +0100)
commitf8e6ae5a3346821acf7ac0b0dedf494e29f9496f
tree57f13814cced9679ecaff7dee33e7c4fcd795406
parent3745440f4905f4aaa6173a82972f8e5033f36c2d
iio:adc:hi8435: Drop of_match_ptr protection.

Allows use of ACPI with PRP0001 and is generally something we are
trying to avoid having people cut and paste into new drivers without
thinking about it.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/adc/hi8435.c