]> git.sur5r.net Git - u-boot/commit
dm: Use dev_get_addr() where possible
authorSimon Glass <sjg@chromium.org>
Tue, 11 Aug 2015 14:33:29 +0000 (08:33 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:26 +0000 (07:57 -0600)
commit4e9838c102e8575fbff3944e1596a53ec579844a
tree3076104fa3b0570bc88e695ef274624536b22762
parent71f1e3f19d26c7956de5c37035478fcaa9e979e7
dm: Use dev_get_addr() where possible

This is a convenient way for a driver to get the hardware address of a
device, when regmap or syscon are not being used. Change existing callers
to use it as an example to others.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
20 files changed:
drivers/core/device.c
drivers/gpio/s5p_gpio.c
drivers/gpio/sunxi_gpio.c
drivers/gpio/tegra_gpio.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/tegra_i2c.c
drivers/serial/ns16550.c
drivers/serial/serial_arc.c
drivers/serial/serial_pl01x.c
drivers/serial/serial_s5p.c
drivers/spi/designware_spi.c
drivers/spi/exynos_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/zynq_spi.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/xhci-exynos5.c
drivers/video/tegra124/dp.c