GenWQE: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 13 Jan 2016 15:30:12 +0000 (23:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 22:57:30 +0000 (14:57 -0800)
commit6908b45eafc480e9da8196f987b1d0f6c887a5d7
tree0c9c058af12ca52b66e298062baa4ee0fc26ee77
parent85f4f39c80e9350da8a351e6ea36367fa9fb87a5
GenWQE: use kobj_to_dev()

Use kobj_to_dev() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/genwqe/card_sysfs.c