Merge branch 'net-of_node_put'
authorDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:43:58 +0000 (21:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Aug 2016 04:43:58 +0000 (21:43 -0700)
commitbbcecd60209db54e4231e3a69bc425bc8b86096f
tree6a8e5d5bbeb31ab6466a14268ba3a5a928b8488c
parent0a2f0d2de4ed9bd73e2c8d604863399ed6a20527
parent5817f977527e5cdbea9ca56d2b95824f59c8747d
Merge branch 'net-of_node_put'

Peter Chen says:

====================
add missing of_node_put after calling of_parse_phandle

This patch set fixes missing of_node_put issue at ethernet driver.
of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

The compilation test has passed by using allmodconfig for drivers/net/ethernet.

Changes for v2:
- If the device node is local variable, it can be put in the same function.
- If the device node will be used the whole driver life cycle,
  it should be put (call of_node_put) at driver's remove.
  Patch [4, 5, 9, 14, 15/15]
- Fix the issue that the node still be used at error patch [6/15]
- Add acked for patch [11,12/15]
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
This page took 0.027637 seconds and 5 git commands to generate.