drm/i915: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 13 Jan 2016 14:48:40 +0000 (22:48 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Jan 2016 15:40:50 +0000 (16:40 +0100)
commit657fb5fbadb3ef286ababaf6809d5594767d8063
tree4aaa1d81ce4076fb4f73d8834924be5599e45b78
parentec8a9776cc5c98decbc905c9fa4a885564b7a7c3
drm/i915: use kobj_to_dev()

Use kobj_to_dev() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/f5db8b56cd177972c901d01aa87ba763735438a9.1452696179.git.geliangtang@163.com
drivers/gpu/drm/i915/i915_sysfs.c