Re: [PATCHv5 6/7] base: platform: name the device already during allocation

2015-02-02 Thread Vivek Gautam
Hi Kishon, On Thu, Nov 20, 2014 at 2:51 PM, Kishon Vijay Abraham I wrote: > Hi Greg, > > On Wednesday 19 November 2014 08:58 PM, Heikki Krogerus wrote: >> The device name is usually required when assigning resources >> like clocks to platform devices. The problem is that the >> device name is no

Re: [PATCHv5 6/7] base: platform: name the device already during allocation

2014-11-20 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 19 November 2014 08:58 PM, Heikki Krogerus wrote: > The device name is usually required when assigning resources > like clocks to platform devices. The problem is that the > device name is not know before platform_device_add is called > and that can be too late as the drivers

[PATCHv5 6/7] base: platform: name the device already during allocation

2014-11-19 Thread Heikki Krogerus
The device name is usually required when assigning resources like clocks to platform devices. The problem is that the device name is not know before platform_device_add is called and that can be too late as the drivers may have already requested the resources when the function returns. By naming th