-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
6 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1119,18 +1119,7 @@ static struct i2c_driver smb328a_i2c_driver = { | |
.id_table = smb328a_id, | ||
}; | ||
|
||
static int __init smb328a_init(void) | ||
{ | ||
return i2c_add_driver(&smb328a_i2c_driver); | ||
} | ||
module_init(smb328a_init); | ||
|
||
static void __exit smb328a_exit(void) | ||
{ | ||
i2c_del_driver(&smb328a_i2c_driver); | ||
} | ||
module_exit(smb328a_exit); | ||
|
||
module_i2c_driver(smb328a_i2c_driver); | ||
|
||
MODULE_DESCRIPTION("SMB328A charger control driver"); | ||
MODULE_AUTHOR("<[email protected]>"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters