diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2016-02-24 14:39:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-25 21:51:05 +0000 |
| commit | 016c0bbae1d17d4509b74227dca618e01263e61a (patch) | |
| tree | 484e1b4059a9178448a3c7819bd0e36739ef09fe /net/tipc | |
| parent | 3c59x: Use setup_timer() (diff) | |
| download | kernel-016c0bbae1d17d4509b74227dca618e01263e61a.tar.gz kernel-016c0bbae1d17d4509b74227dca618e01263e61a.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions
