Re: [PATCH 2/2] bridge: use kobj_to_dev instead of to_dev

2015-12-23 Thread David Miller
From: Geliang Tang Date: Wed, 23 Dec 2015 20:42:21 +0800 > kobj_to_dev has been defined in linux/device.h, so I replace to_dev > with it. > > Signed-off-by: Geliang Tang Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.ker

[PATCH 2/2] bridge: use kobj_to_dev instead of to_dev

2015-12-23 Thread Geliang Tang
kobj_to_dev has been defined in linux/device.h, so I replace to_dev with it. Signed-off-by: Geliang Tang --- net/bridge/br_sysfs_br.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index 8365bd5..6b80914 100644 --- a/net/