bridge: use kobj_to_dev instead of to_dev
authorGeliang Tang <geliangtang@163.com>
Wed, 23 Dec 2015 12:42:21 +0000 (20:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2015 03:26:48 +0000 (22:26 -0500)
commitaeb7ed14fe5df3a4ce019c8d4ce0b2922a091196
tree7a98269b32693630e3ffa3e811728fe18c77f554
parent8099c9edfd96d91b1f01b31ca5270ba3bceb0c9b
bridge: use kobj_to_dev instead of to_dev

kobj_to_dev has been defined in linux/device.h, so I replace to_dev
with it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_sysfs_br.c