pch_phub: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 13 Jan 2016 15:30:10 +0000 (23:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 22:57:30 +0000 (14:57 -0800)
commit85f4f39c80e9350da8a351e6ea36367fa9fb87a5
tree45e3c86fb93b25e5034f0b2dc832974a6dae94b8
parent20af74ef140f0fbc477f90817c58241107782e10
pch_phub: 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/pch_phub.c