Re: [U-Boot] [PATCH] dm: Use dev_get_addr() where possible

2015-08-17 Thread Simon Glass
On 12 August 2015 at 20:16, Simon Glass wrote: > Hi, > > On 11 August 2015 at 11:41, Simon Glass wrote: >> Hi Stephen, >> >> On 11 August 2015 at 11:33, Stephen Warren wrote: >>> >>> On 08/11/2015 08:33 AM, Simon Glass wrote: This is a convenient way for a driver to get the hardware ad

Re: [U-Boot] [PATCH] dm: Use dev_get_addr() where possible

2015-08-12 Thread Simon Glass
Hi, On 11 August 2015 at 11:41, Simon Glass wrote: > Hi Stephen, > > On 11 August 2015 at 11:33, Stephen Warren wrote: >> >> On 08/11/2015 08:33 AM, Simon Glass wrote: >>> >>> This is a convenient way for a driver to get the hardware address of a >>> device, when regmap or syscon are not being u

Re: [U-Boot] [PATCH] dm: Use dev_get_addr() where possible

2015-08-11 Thread Simon Glass
Hi Stephen, On 11 August 2015 at 11:33, Stephen Warren wrote: > > On 08/11/2015 08:33 AM, Simon Glass wrote: >> >> This is a convenient way for a driver to get the hardware address of a >> device, when regmap or syscon are not being used. Change existing callers >> to use it as an example to othe

Re: [U-Boot] [PATCH] dm: Use dev_get_addr() where possible

2015-08-11 Thread Stephen Warren
On 08/11/2015 08:33 AM, Simon Glass wrote: This is a convenient way for a driver to get the hardware address of a device, when regmap or syscon are not being used. Change existing callers to use it as an example to others. Ah good; I was a little worried about the tiny number of users of dev_g

Re: [U-Boot] [PATCH] dm: Use dev_get_addr() where possible

2015-08-11 Thread Joe Hershberger
Hi Simon, On Tue, Aug 11, 2015 at 9:33 AM, Simon Glass wrote: > This is a convenient way for a driver to get the hardware address of a > device, when regmap or syscon are not being used. Change existing callers > to use it as an example to others. > > Signed-off-by: Simon Glass This looks great

[U-Boot] [PATCH] dm: Use dev_get_addr() where possible

2015-08-11 Thread Simon Glass
This is a convenient way for a driver to get the hardware address of a device, when regmap or syscon are not being used. Change existing callers to use it as an example to others. Signed-off-by: Simon Glass --- drivers/core/device.c| 2 ++ drivers/gpio/s5p_gpio.c | 3 +-- d