Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351909
b: refs/heads/master
c: 234d4d6
h: refs/heads/master
i:
  351907: 098018a
v: v3
  • Loading branch information
Samuel Ortiz committed Jan 9, 2013
1 parent e8b8df7 commit d2ce812
Show file tree
Hide file tree
Showing 2 changed files with 2 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: aa74103071312fede1f4953fe3c027941add1256
refs/heads/master: 234d4d6b1038f004f233f14906ec9328bf53088b
24 changes: 1 addition & 23 deletions trunk/drivers/nfc/pn544/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,29 +472,7 @@ static struct i2c_driver pn544_hci_i2c_driver = {
.remove = __devexit_p(pn544_hci_i2c_remove),
};

static int __init pn544_hci_i2c_init(void)
{
int r;

pr_debug(DRIVER_DESC ": %s\n", __func__);

r = i2c_add_driver(&pn544_hci_i2c_driver);
if (r) {
pr_err(PN544_HCI_I2C_DRIVER_NAME
": driver registration failed\n");
return r;
}

return 0;
}

static void __exit pn544_hci_i2c_exit(void)
{
i2c_del_driver(&pn544_hci_i2c_driver);
}

module_init(pn544_hci_i2c_init);
module_exit(pn544_hci_i2c_exit);
module_i2c_driver(pn544_hci_i2c_driver);

MODULE_LICENSE("GPL");
MODULE_DESCRIPTION(DRIVER_DESC);

0 comments on commit d2ce812

Please sign in to comment.