linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] merge calls to of_match_device and of_device_get_match_data
@ 2018-05-21  9:49 Julia Lawall
  2018-05-21  9:49 ` [PATCH 1/3] i2c: mux: pca954x: " Julia Lawall
  2018-05-21  9:49 ` [PATCH 3/3] iio: potentiometer: " Julia Lawall
  0 siblings, 2 replies; 6+ messages in thread
From: Julia Lawall @ 2018-05-21  9:49 UTC (permalink / raw)
  To: linux-i2c
  Cc: kernel-janitors, linux-kernel, Hartmut Knaack,
	Lars-Peter Clausen, Peter Meerwald-Stadler, linux-iio,
	Himanshu Jha

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-19 19:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21  9:49 [PATCH 0/3] merge calls to of_match_device and of_device_get_match_data Julia Lawall
2018-05-21  9:49 ` [PATCH 1/3] i2c: mux: pca954x: " Julia Lawall
2018-05-24 11:53   ` Peter Rosin
2018-05-21  9:49 ` [PATCH 3/3] iio: potentiometer: " Julia Lawall
2018-08-19  7:02   ` Peter Rosin
2018-08-19 19:17     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).