diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-10-20 07:37:29 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-10-21 19:48:00 +0200 |
commit | 0d87a4aa376983a205b3920dc7a9b15d74110be9 (patch) | |
tree | 5f16dc8e0249e6f392aca2c9260231eb37930675 /mm/page_poison.c | |
parent | staging: iio: tsl2x7x: put function definitions on a single line (diff) | |
download | linux-0d87a4aa376983a205b3920dc7a9b15d74110be9.tar.xz linux-0d87a4aa376983a205b3920dc7a9b15d74110be9.zip |
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>
Diffstat (limited to 'mm/page_poison.c')
0 files changed, 0 insertions, 0 deletions