commit | 0d87a4aa376983a205b3920dc7a9b15d74110be9 | [log] [tgz] |
---|---|---|
author | Corentin Labbe <clabbe.montjoie@gmail.com> | Fri Oct 20 07:37:29 2017 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Oct 21 18:48:00 2017 +0100 |
tree | 5f16dc8e0249e6f392aca2c9260231eb37930675 | |
parent | 724330a9d61aa61ee20f4895302124490a452629 [diff] |
iio: adc: sun4i-gpadc: use of_device_get_match_data The usage of of_device_get_match_data reduce the code size a bit. Furthermore, it prevents an improbable dereference when of_match_device() return NULL. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>