On Fri, 14 Jun 2019 18:54:12 +0100, Suzuki K Poulose wrote: > Add a wrapper to bus_find_device() to search for a device > by the of_node pointer, reusing the generic match function. > Also convert the existing users to make use of the new helper. > > Cc: Maarten Lankhorst <[email protected]> > Cc: Maxime Ripard <[email protected]> > Cc: [email protected] > Cc: David Airlie <[email protected]> > Cc: Daniel Vetter <[email protected]> > Cc: [email protected] > Cc: Florian Fainelli <[email protected]> > Cc: Frank Rowand <[email protected]> > Cc: Heiko Stuebner <[email protected]> > Cc: Liam Girdwood <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: Mathieu Poirier <[email protected]> > Cc: Rob Herring <[email protected]> > Cc: Srinivas Kandagatla <[email protected]> > Cc: Takashi Iwai <[email protected]> > Cc: Wolfram Sang <[email protected]> > Cc: Greg Kroah-Hartman <[email protected]> > Cc: "Rafael J. Wysocki" <[email protected]> > Signed-off-by: Suzuki K Poulose <[email protected]> > --- > drivers/gpu/drm/drm_mipi_dsi.c | 7 +------ > drivers/hwtracing/coresight/of_coresight.c | 11 ++--------- > drivers/i2c/i2c-core-of.c | 7 +------ > drivers/nvmem/core.c | 7 +------ > drivers/of/of_mdio.c | 8 +------- > drivers/of/platform.c | 7 +------ > drivers/spi/spi.c | 9 ++------- > include/linux/device.h | 12 ++++++++++++ > sound/soc/rockchip/rk3399_gru_sound.c | 9 ++------- > 9 files changed, 23 insertions(+), 54 deletions(-) >
Reviewed-by: Rob Herring <[email protected]>
