]> git.ipfire.org Git - people/ms/u-boot.git/commit - include/dm/device.h
dm: core: Rename driver data function to dev_get_driver_data()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:21:55 +0000 (12:21 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:19 +0000 (11:11 -0600)
commit39de843352d8c655f23ecff460d5e74101780b7e
tree31367f9062640e9c95fab992dfdd88dd0e2fe6af
parent3479253dad2ac9d1c71f4843aae52ea7cd0c7716
dm: core: Rename driver data function to dev_get_driver_data()

The existing get_get_of_data() function provides access to both the driver's
compatible string and its driver data. However only the latter is actually
useful. Update the interface to reflect this and fix up existing users.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/core/device.c
drivers/core/lists.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/tegra_i2c.c
include/dm/device.h