[PATCH v3 2/7] drivers: Introduce device lookup variants by of_node
Lee Jones
lee.jones at linaro.org
Thu Jul 25 13:54:02 UTC 2019
On Tue, 23 Jul 2019, Suzuki K Poulose wrote:
> Introduce wrappers for {bus/driver/class}_find_device() to
> locate devices by its of_node.
>
> 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: Alan Tull <atull at kernel.org>
> Cc: Moritz Fischer <mdf at kernel.org>
> Cc: linux-fpga at vger.kernel.org
> Cc: Peter Rosin <peda at axentia.se>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Florian Fainelli <f.fainelli at gmail.com>
> Cc: Heiner Kallweit <hkallweit1 at gmail.com>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Andrew Lunn <andrew at lunn.ch>
> Cc: Liam Girdwood <lgirdwood at gmail.com>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: "Rafael J. Wysocki" <rafael at kernel.org>
> Cc: Lee Jones <lee.jones at linaro.org>
> Cc: Thor Thayer <thor.thayer at linux.intel.com>
> Cc: Jiri Slaby <jslaby at suse.com>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Andrew Lunn <andrew at lunn.ch>
> Cc: Peter Rosin <peda at axentia.se>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> ---
> - Dropped the reviewed-by tags from Thor, Mark, Andrew and Peter as the
> patches are mereged, though there are no functional changes.
> ---
> drivers/amba/tegra-ahb.c | 11 +-------
> drivers/fpga/fpga-bridge.c | 8 +-----
> drivers/fpga/fpga-mgr.c | 8 +-----
> drivers/gpu/drm/drm_mipi_dsi.c | 7 +----
> drivers/i2c/i2c-core-of.c | 7 +----
> drivers/mfd/altera-sysmgr.c | 14 ++--------
For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones at linaro.org>
What's the merge plan for this patch?
Is anyone prepared to create an immutable branch for us to pull from?
I'm happy to do it if no one else steps up.
> drivers/mux/core.c | 7 +----
> drivers/net/phy/mdio_bus.c | 9 +------
> drivers/nvmem/core.c | 7 +----
> drivers/of/of_mdio.c | 8 +-----
> drivers/of/platform.c | 7 +----
> drivers/regulator/of_regulator.c | 7 +----
> drivers/spi/spi.c | 20 +++------------
> include/linux/device.h | 37 +++++++++++++++++++++++++++
> sound/soc/rockchip/rk3399_gru_sound.c | 9 ++-----
> 15 files changed, 56 insertions(+), 110 deletions(-)
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the dri-devel
mailing list