Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307641
b: refs/heads/master
c: 8ebb35f
h: refs/heads/master
i:
  307639: 2bf8269
v: v3
  • Loading branch information
Axel Lin authored and Grant Likely committed Apr 10, 2012
1 parent 2a4ec91 commit b920d06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39f8052d2e0c35533e776ef1235e4cc32cc35d02
refs/heads/master: 8ebb35fd7ad07ab9a88a35eedd4f89a1e2a8fa55
13 changes: 1 addition & 12 deletions trunk/drivers/spi/spi-dw-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,18 +164,7 @@ static struct pci_driver dw_spi_driver = {
.resume = spi_resume,
};

static int __init mrst_spi_init(void)
{
return pci_register_driver(&dw_spi_driver);
}

static void __exit mrst_spi_exit(void)
{
pci_unregister_driver(&dw_spi_driver);
}

module_init(mrst_spi_init);
module_exit(mrst_spi_exit);
module_pci_driver(dw_spi_driver);

MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>");
MODULE_DESCRIPTION("PCI interface driver for DW SPI Core");
Expand Down
12 changes: 1 addition & 11 deletions trunk/drivers/spi/spi-pxa2xx-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,7 @@ static struct pci_driver ce4100_spi_driver = {
.remove = __devexit_p(ce4100_spi_remove),
};

static int __init ce4100_spi_init(void)
{
return pci_register_driver(&ce4100_spi_driver);
}
module_init(ce4100_spi_init);

static void __exit ce4100_spi_exit(void)
{
pci_unregister_driver(&ce4100_spi_driver);
}
module_exit(ce4100_spi_exit);
module_pci_driver(ce4100_spi_driver);

MODULE_DESCRIPTION("CE4100 PCI-SPI glue code for PXA's driver");
MODULE_LICENSE("GPL v2");
Expand Down

0 comments on commit b920d06

Please sign in to comment.