drm/gma500: use to_pci_dev()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 10:45:58 +0000 (18:45 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 4 Jan 2016 06:57:38 +0000 (07:57 +0100)
commitd21b02af63fd90d5fd6b8042fa5fb25f5911128d
tree39960de70d7eba181a26496566e416d71bae325b
parent7118fd9bd975a9f3093239d4c0f4e15356b57fab
drm/gma500: use to_pci_dev()

Use to_pci_dev() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/gma500/power.c