Re: [PATCH 1/2] net: mvneta: remove bogus use of device_node.data ptr

2017-07-20 Thread Sergei Shtylyov
Hello! On 07/20/2017 05:27 PM, Rob Herring wrote: Nothing sets ever sets data, so it is always NULL. Remove it as this is "Sets" once is enough. :-) the only user of data ptr in the whole kernel, and it is going to be removed from struct device_node. Cc: Thomas Petazzoni Signed-off-by:

[PATCH 1/2] net: mvneta: remove bogus use of device_node.data ptr

2017-07-20 Thread Rob Herring
Nothing sets ever sets data, so it is always NULL. Remove it as this is the only user of data ptr in the whole kernel, and it is going to be removed from struct device_node. Cc: Thomas Petazzoni Signed-off-by: Rob Herring --- Probably there's a better fix here to actually enable the h/w buffer