[PATCH 4/5] W1: w1-gpio - rework handling of platform data

2013-02-24 Thread Dmitry Torokhov
The platform data in the dveice structure does not belong to the driver and so it should not be trying to alter it, but instead use a local pointer and populate it with a local copy in case we are dealing with device tree setup. Also allow mixed setups where platform data coexists with device tree

Re: [PATCH 4/5] W1: w1-gpio - rework handling of platform data

2013-02-23 Thread Dmitry Torokhov
On Sat, Feb 23, 2013 at 06:55:45PM +0200, Ville Syrjälä wrote: > On Fri, Feb 22, 2013 at 11:58:39PM -0800, Dmitry Torokhov wrote: > > The platform data in the dveice structure does not belong to the driver > > and so it should not be trying to alter it, but instead use a local pointer > > and popul

Re: [PATCH 4/5] W1: w1-gpio - rework handling of platform data

2013-02-23 Thread Ville Syrjälä
On Fri, Feb 22, 2013 at 11:58:39PM -0800, Dmitry Torokhov wrote: > The platform data in the dveice structure does not belong to the driver > and so it should not be trying to alter it, but instead use a local pointer > and populate it with a local copy in case we are dealing with device tree > setu

[PATCH 4/5] W1: w1-gpio - rework handling of platform data

2013-02-22 Thread Dmitry Torokhov
The platform data in the dveice structure does not belong to the driver and so it should not be trying to alter it, but instead use a local pointer and populate it with a local copy in case we are dealing with device tree setup. Also allow mixed setups where platform data coexists with device tree