[PATCH v2 17/28] drivers: Introduce bus_find_device_by_of_node() helper
Rob Herring
robh at kernel.org
Tue Jul 9 16:19:22 UTC 2019
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 <maarten.lankhorst at linux.intel.com>
> Cc: Maxime Ripard <maxime.ripard at bootlin.com>
> Cc: dri-devel at lists.freedesktop.org
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: devicetree at vger.kernel.org
> Cc: Florian Fainelli <f.fainelli at gmail.com>
> Cc: Frank Rowand <frowand.list at gmail.com>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Cc: Liam Girdwood <lgirdwood at gmail.com>
> Cc: linux-i2c at vger.kernel.org
> Cc: linux-rockchip at lists.infradead.org
> Cc: linux-spi at vger.kernel.org
> Cc: Mathieu Poirier <mathieu.poirier at linaro.org>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
> Cc: Takashi Iwai <tiwai at suse.com>
> Cc: Wolfram Sang <wsa at the-dreams.de>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: "Rafael J. Wysocki" <rafael at kernel.org>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> ---
> 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 <robh at kernel.org>
More information about the dri-devel
mailing list