On 5 March 2015 at 12:25, Simon Glass <s...@chromium.org> wrote: > Add a convenience function to access the private data that a uclass stores > for each of its devices. Convert over most existing uses for consistency > and to provide an example for others. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v2: None > > common/cmd_sf.c | 2 +- > common/cros_ec.c | 2 +- > drivers/core/device.c | 10 ++++++++++ > drivers/gpio/at91_gpio.c | 2 +- > drivers/gpio/bcm2835_gpio.c | 2 +- > drivers/gpio/gpio-uclass.c | 22 +++++++++++----------- > drivers/gpio/intel_ich6_gpio.c | 2 +- > drivers/gpio/mxc_gpio.c | 2 +- > drivers/gpio/omap_gpio.c | 2 +- > drivers/gpio/s5p_gpio.c | 2 +- > drivers/gpio/sandbox.c | 6 +++--- > drivers/gpio/sunxi_gpio.c | 2 +- > drivers/gpio/tegra_gpio.c | 2 +- > drivers/i2c/i2c-uclass.c | 6 +++--- > drivers/i2c/sandbox_i2c.c | 2 +- > drivers/misc/cros_ec.c | 6 +++--- > drivers/misc/cros_ec_i2c.c | 2 +- > drivers/misc/cros_ec_sandbox.c | 2 +- > drivers/misc/cros_ec_spi.c | 4 ++-- > drivers/mtd/spi/sf-uclass.c | 2 +- > drivers/mtd/spi/sf_probe.c | 8 ++++---- > drivers/serial/serial-uclass.c | 4 ++-- > drivers/spi/spi-uclass.c | 4 ++-- > include/dm/device.h | 10 ++++++++++ > include/i2c.h | 8 ++++---- > test/dm/core.c | 2 +- > test/dm/test-uclass.c | 4 ++-- > 27 files changed, 71 insertions(+), 51 deletions(-)
Applied to u-boot-dm/next. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot