aty128fb: Use pci_dev pm_cap
authorJon Mason <jdmason@kudzu.us>
Wed, 11 Sep 2013 21:35:05 +0000 (14:35 -0700)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 Sep 2013 10:30:05 +0000 (13:30 +0300)
commit8d0c03dd2d1e8fd0f7ac3d43e90ed99dd748ed7a
treef0515ace1f8b5833db17022c1675fdb098d383a6
parent5a7bbe86b0b99b1075b97d812946a84ed5fda9ff
aty128fb: Use pci_dev pm_cap

Use the already existing pm_cap variable in struct pci_dev for
determining the power management offset.  This saves the driver from
having to keep track of an extra variable.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/aty/aty128fb.c