summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mgag200/mgag200_drv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2012-12-22 00:09:25 +0100
committerGreg Kroah-Hartman2013-01-04 00:57:15 +0100
commit56550d94cbaeaa195cb98c95d012b301cbd65a8d (patch)
tree066bce5227350526a7466e9016bd3154486ffe5a /drivers/gpu/drm/mgag200/mgag200_drv.c
parentDrivers: infinband: remove __dev* attributes. (diff)
downloadkernel-qcow2-linux-56550d94cbaeaa195cb98c95d012b301cbd65a8d.tar.gz
kernel-qcow2-linux-56550d94cbaeaa195cb98c95d012b301cbd65a8d.tar.xz
kernel-qcow2-linux-56550d94cbaeaa195cb98c95d012b301cbd65a8d.zip
Drivers: gpu: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: David Airlie <airlied@linux.ie> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/mgag200/mgag200_drv.c')
-rw-r--r--drivers/gpu/drm/mgag200/mgag200_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.c b/drivers/gpu/drm/mgag200/mgag200_drv.c
index 1e910117b0a2..122b571ccc7c 100644
--- a/drivers/gpu/drm/mgag200/mgag200_drv.c
+++ b/drivers/gpu/drm/mgag200/mgag200_drv.c
@@ -60,8 +60,7 @@ static void mgag200_kick_out_firmware_fb(struct pci_dev *pdev)
}
-static int __devinit
-mga_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
+static int mga_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{
mgag200_kick_out_firmware_fb(pdev);