Re: [PATCH] device property: don't bother the drivers with struct property_set

2016-03-15 Thread Heikki Krogerus
On Fri, Feb 26, 2016 at 01:20:00PM +0200, Heikki Krogerus wrote: > Since device_add_property_set() now always takes a copy of > the property_set, and also since the fwnode type is always > hard coded to be FWNODE_PDATA, there is no need for the > drivers to deliver the entire struct property_set. T

Re: [PATCH] device property: don't bother the drivers with struct property_set

2016-03-02 Thread Lee Jones
On Fri, 26 Feb 2016, Heikki Krogerus wrote: > Since device_add_property_set() now always takes a copy of > the property_set, and also since the fwnode type is always > hard coded to be FWNODE_PDATA, there is no need for the > drivers to deliver the entire struct property_set. The > function can ju

Re: [PATCH] device property: don't bother the drivers with struct property_set

2016-02-29 Thread Mika Westerberg
On Fri, Feb 26, 2016 at 01:20:00PM +0200, Heikki Krogerus wrote: > Since device_add_property_set() now always takes a copy of > the property_set, and also since the fwnode type is always > hard coded to be FWNODE_PDATA, there is no need for the > drivers to deliver the entire struct property_set. T

Re: [PATCH] device property: don't bother the drivers with struct property_set

2016-02-26 Thread Thierry Reding
On Fri, Feb 26, 2016 at 01:20:00PM +0200, Heikki Krogerus wrote: > Since device_add_property_set() now always takes a copy of > the property_set, and also since the fwnode type is always > hard coded to be FWNODE_PDATA, there is no need for the > drivers to deliver the entire struct property_set. T

Re: [PATCH] device property: don't bother the drivers with struct property_set

2016-02-26 Thread Andy Shevchenko
On Fri, 2016-02-26 at 13:20 +0200, Heikki Krogerus wrote: > Since device_add_property_set() now always takes a copy of > the property_set, and also since the fwnode type is always > hard coded to be FWNODE_PDATA, there is no need for the > drivers to deliver the entire struct property_set. The > fu

[PATCH] device property: don't bother the drivers with struct property_set

2016-02-26 Thread Heikki Krogerus
Since device_add_property_set() now always takes a copy of the property_set, and also since the fwnode type is always hard coded to be FWNODE_PDATA, there is no need for the drivers to deliver the entire struct property_set. The function can just create the instance of it on its own and bind the pr