Skip to content
Commit 034e226b authored by Simon Glass's avatar Simon Glass Committed by Jaehoon Chung
Browse files

dm: mmc: sunxi: Pass private data around explicitly



At present the driver-private data is obtained in various functions by
various means. With driver model this is provided automatically. Without
driver model it comes from a C array declared at the top of the file.

Adjust internal functions so that they are passed the private data as
a parameter, allowing the caller to obtain it using either means.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 3f5af12a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment