Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
116c326e
Commit
116c326e
authored
Feb 25, 2013
by
Lee Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pm2301_charger: Remove __exit, __init and __devexit_p()
Signed-off-by:
Lee Jones
<
lee.jones@linaro.org
>
parent
9f9ba15f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/power/pm2301_charger.c
drivers/power/pm2301_charger.c
+3
-3
No files found.
drivers/power/pm2301_charger.c
View file @
116c326e
...
...
@@ -851,7 +851,7 @@ static int pm2xxx_wall_charger_suspend(struct i2c_client *i2c_client,
return
0
;
}
static
int
__devinit
pm2xxx_wall_charger_probe
(
struct
i2c_client
*
i2c_client
,
static
int
pm2xxx_wall_charger_probe
(
struct
i2c_client
*
i2c_client
,
const
struct
i2c_device_id
*
id
)
{
struct
pm2xxx_platform_data
*
pl_data
=
i2c_client
->
dev
.
platform_data
;
...
...
@@ -1021,7 +1021,7 @@ static int __devinit pm2xxx_wall_charger_probe(struct i2c_client *i2c_client,
return
ret
;
}
static
int
__devexit
pm2xxx_wall_charger_remove
(
struct
i2c_client
*
i2c_client
)
static
int
pm2xxx_wall_charger_remove
(
struct
i2c_client
*
i2c_client
)
{
struct
pm2xxx_charger
*
pm2
=
i2c_get_clientdata
(
i2c_client
);
...
...
@@ -1058,7 +1058,7 @@ MODULE_DEVICE_TABLE(i2c, pm2xxx_id);
static
struct
i2c_driver
pm2xxx_charger_driver
=
{
.
probe
=
pm2xxx_wall_charger_probe
,
.
remove
=
__devexit_p
(
pm2xxx_wall_charger_remove
)
,
.
remove
=
pm2xxx_wall_charger_remove
,
.
suspend
=
pm2xxx_wall_charger_suspend
,
.
resume
=
pm2xxx_wall_charger_resume
,
.
driver
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment