Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24368
b: refs/heads/master
c: 756e21a
h: refs/heads/master
v: v3
  • Loading branch information
Arthur Othieno authored and Linus Torvalds committed Mar 27, 2006
1 parent 598b51c commit 937e6cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 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: fc4effc7a98d0d320e478d1d42bc4a8a64380150
refs/heads/master: 756e21a022aba5214bafcf803f114aed8a783b99
17 changes: 5 additions & 12 deletions trunk/drivers/video/matrox/matroxfb_maven.c
Original file line number Diff line number Diff line change
Expand Up @@ -1297,20 +1297,13 @@ static struct i2c_driver maven_driver={
.detach_client = maven_detach_client,
};

/* ************************** */

static int matroxfb_maven_init(void) {
int err;

err = i2c_add_driver(&maven_driver);
if (err) {
printk(KERN_ERR "maven: Maven driver failed to register (%d).\n", err);
return err;
}
return 0;
static int __init matroxfb_maven_init(void)
{
return i2c_add_driver(&maven_driver);
}

static void matroxfb_maven_exit(void) {
static void __exit matroxfb_maven_exit(void)
{
i2c_del_driver(&maven_driver);
}

Expand Down

0 comments on commit 937e6cf

Please sign in to comment.