aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-24 09:39:38 -0500
committerDavid S. Miller <davem@davemloft.net>2016-02-25 16:51:05 -0500
commit016c0bbae1d17d4509b74227dca618e01263e61a (patch)
tree484e1b4059a9178448a3c7819bd0e36739ef09fe /net/tipc/node.c
parent5b6490def9168af6a1609df910a7800bcbc97977 (diff)
netxen: Use kobj_to_dev()
Introduce the use of kobj_to_dev() helper function instead of open coding it with container_of() The Coccinelle semantic patch used to make this change is as follows: //<smpl> @@ expression a; symbol kobj; @@ - container_of(a, struct device, kobj) + kobj_to_dev(a) //</smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions