[PATCH 0/3] merge calls to of_match_device and of_device_get_match_data

From: Julia Lawall
Date: Mon May 21 2018 - 05:26:11 EST


of_device_get_match_data calls of_match_device and fails if the latter
fails, so both calls aren't needed.

---

drivers/i2c/muxes/i2c-mux-pca954x.c | 7 ++-----
drivers/iio/adc/max1363.c | 8 ++------
drivers/iio/potentiometer/max5481.c | 7 ++-----
drivers/iio/potentiometer/mcp4018.c | 7 ++-----
drivers/iio/potentiometer/mcp4531.c | 7 ++-----
5 files changed, 10 insertions(+), 26 deletions(-)