mirror of
https://github.com/torvalds/linux.git
synced 2025-11-11 22:19:23 +02:00
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| netxen_nic.h | ||
| netxen_nic_ctx.c | ||
| netxen_nic_ethtool.c | ||
| netxen_nic_hdr.h | ||
| netxen_nic_hw.c | ||
| netxen_nic_hw.h | ||
| netxen_nic_init.c | ||
| netxen_nic_main.c | ||