Drivers: media: 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, __devinitdata, __devinitconst, 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: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@ -1636,7 +1636,7 @@ void ngene_shutdown(struct pci_dev *pdev)
|
||||
/* device probe/remove calls ************************************************/
|
||||
/****************************************************************************/
|
||||
|
||||
void __devexit ngene_remove(struct pci_dev *pdev)
|
||||
void ngene_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct ngene *dev = pci_get_drvdata(pdev);
|
||||
int i;
|
||||
@ -1652,8 +1652,7 @@ void __devexit ngene_remove(struct pci_dev *pdev)
|
||||
pci_disable_device(pdev);
|
||||
}
|
||||
|
||||
int __devinit ngene_probe(struct pci_dev *pci_dev,
|
||||
const struct pci_device_id *id)
|
||||
int ngene_probe(struct pci_dev *pci_dev, const struct pci_device_id *id)
|
||||
{
|
||||
struct ngene *dev;
|
||||
int stat = 0;
|
||||
|
Reference in New Issue
Block a user