diff options
author | Jon Mason <jdmason@kudzu.us> | 2013-09-11 23:35:05 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 12:30:05 +0200 |
commit | 8d0c03dd2d1e8fd0f7ac3d43e90ed99dd748ed7a (patch) | |
tree | f0515ace1f8b5833db17022c1675fdb098d383a6 /drivers/video/aty/radeon_pm.c | |
parent | video: au1100fb: Remove casting the return value which is a void pointer (diff) | |
download | linux-8d0c03dd2d1e8fd0f7ac3d43e90ed99dd748ed7a.tar.xz linux-8d0c03dd2d1e8fd0f7ac3d43e90ed99dd748ed7a.zip |
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>
Diffstat (limited to 'drivers/video/aty/radeon_pm.c')
0 files changed, 0 insertions, 0 deletions