[U-Boot] [PATCH 08/22] dm: core: Add dev_get_uclass_priv() to access uclass private data

2015-02-18 Thread Simon Glass
Add a convenience function to access the private data that a uclass stores for each of its devices. Convert over most existing uses for consistency and to provide an example for others. Signed-off-by: Simon Glass --- common/cmd_sf.c| 2 +- common/cros_ec.c | 2 +-

Re: [U-Boot] [PATCH 08/22] dm: core: Add dev_get_uclass_priv() to access uclass private data

2015-02-25 Thread Bin Meng
Hi Simon, On Thu, Feb 19, 2015 at 5:10 AM, Simon Glass wrote: > Add a convenience function to access the private data that a uclass stores > for each of its devices. Convert over most existing uses for consistency > and to provide an example for others. What's the benefit of doing this? It (dev_

Re: [U-Boot] [PATCH 08/22] dm: core: Add dev_get_uclass_priv() to access uclass private data

2015-03-04 Thread Simon Glass
Hi Bin, On 26 February 2015 at 00:26, Bin Meng wrote: > Hi Simon, > > On Thu, Feb 19, 2015 at 5:10 AM, Simon Glass wrote: >> Add a convenience function to access the private data that a uclass stores >> for each of its devices. Convert over most existing uses for consistency >> and to provide an