summaryrefslogtreecommitdiff
path: root/drivers/power/power_spi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 12:22:25 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:24 -0600
commit24ed894fc05618aa38b82dc158e15d712833132b (patch)
treeb1a3e249016c00ac7634d139c2ccb28c9d7fd383 /drivers/power/power_spi.c
parent6a1a8162c62fcb5435495c1ddf3390a1d1967474 (diff)
dm: usb: ehci: Use a function to find the controller from struct udevice
With driver model we want to remove the controller pointer in struct udevice and use driver model data structures instead. To prepare for this, move access to this field to a function which can provide a different implementation for driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/power/power_spi.c')
0 files changed, 0 insertions, 0 deletions