[U-Boot] [PATCH v2 08/15] dm: mmc: sunxi: Pass private data around explicitly

Maxime Ripard maxime.ripard at free-electrons.com
Wed Jul 5 14:36:14 UTC 2017


On Tue, Jul 04, 2017 at 01:31:25PM -0600, Simon Glass wrote:
> 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: Simon Glass <sjg at chromium.org>

Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170705/f2691d9d/attachment.sig>


More information about the U-Boot mailing list