[U-Boot] [PATCH v2 03/13] dm: Use dm_scan_fdt_dev() directly where possible
Simon Glass
sjg at chromium.org
Sun Jul 17 23:00:00 CEST 2016
On 5 July 2016 at 17:10, Simon Glass <sjg at chromium.org> wrote:
> Quite a few places have a bind() method which just calls dm_scan_fdt_dev().
> We may as well call dm_scan_fdt_dev() directly. Update the code to do this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Add new patch to use dm_scan_fdt_dev() directly where possible
>
> arch/x86/lib/lpc-uclass.c | 13 +------------
> common/usb_hub.c | 8 +-------
> drivers/i2c/i2c-uclass.c | 7 +------
> drivers/misc/cros_ec.c | 8 +-------
> drivers/pch/pch-uclass.c | 13 +------------
> drivers/pci/pci-uclass.c | 15 +--------------
> drivers/pci/pci_sandbox.c | 10 +++-------
> drivers/pinctrl/pinctrl_pic32.c | 8 +-------
> drivers/pinctrl/rockchip/pinctrl_rk3036.c | 8 +-------
> drivers/pinctrl/rockchip/pinctrl_rk3288.c | 8 +-------
> drivers/power/pmic/pm8916.c | 8 +-------
> drivers/spi/spi-uclass.c | 8 +-------
> drivers/spmi/spmi-uclass.c | 7 +------
> drivers/usb/emul/usb-emul-uclass.c | 8 +-------
> drivers/usb/host/usb-uclass.c | 7 +------
> test/dm/i2c.c | 4 ++--
> test/dm/spi.c | 4 ++--
> 17 files changed, 21 insertions(+), 123 deletions(-)
Applied to u-boot-dm.
More information about the U-Boot
mailing list