firewire: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Tue, 3 Apr 2012 02:07:01 +0000 (10:07 +0800)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 9 Apr 2012 12:23:37 +0000 (14:23 +0200)
commitfe2af11c220c7bb3a67f7aec0594811e5c59e019
tree426d3d99ed35f7693db833d9dc2ef2be323b6a07
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
firewire: use module_pci_driver

This patch converts the drivers in drivers/firewire/* to use module_pci_driver()
macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/nosy.c
drivers/firewire/ohci.c