diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-10-04 15:08:26 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-10-09 22:50:49 +0300 |
commit | fb942f8ce6cdbacc087b808d89d09ff138c25bbe (patch) | |
tree | 6229893703b6153ceefff44479432af3bf35fe6b /drivers/iio/buffer | |
parent | af5d716a90ba55635bbdcbf145465b5fdc5a5530 (diff) | |
download | linux-fb942f8ce6cdbacc087b808d89d09ff138c25bbe.tar.xz |
iio: adc: rcar-gyroadc: Use of_device_get_match_data() helper
Use the of_device_get_match_data() helper instead of open coding.
Note that the rcar-gyroadc driver is used with DT only, so there's
always a valid match.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/buffer')
0 files changed, 0 insertions, 0 deletions