alpha: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 6 Jan 2016 15:35:16 +0000 (23:35 +0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 4 Sep 2017 19:04:33 +0000 (12:04 -0700)
commit8c9b839c0b80f4fb4c17632961770f2f4719f8e2
tree912e39bc6b46394eb1e0b5733d42b22adb59d176
parent203308a5d1e96df245a2817ae7f39fa1b8544da4
alpha: use kobj_to_dev()

Use kobj_to_dev() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/pci-sysfs.c