]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:52 +0000 (21:47 +0200)
commit1fcad3c727a5eda43b8ef7a2ba39ad8f434fb198
tree28934c049ec860e149b2867d711e761a5ebd099c
parentdb7d6e6dcba76dc73a3238761ed8b4fe3b81fad8
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