Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
266429df
Commit
266429df
authored
Dec 11, 2009
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: ambakmi - annotate probe() and remove() methods
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
a0ee2037
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/input/serio/ambakmi.c
drivers/input/serio/ambakmi.c
+4
-4
No files found.
drivers/input/serio/ambakmi.c
View file @
266429df
...
...
@@ -107,7 +107,7 @@ static void amba_kmi_close(struct serio *io)
clk_disable
(
kmi
->
clk
);
}
static
int
amba_kmi_probe
(
struct
amba_device
*
dev
,
struct
amba_id
*
id
)
static
int
__devinit
amba_kmi_probe
(
struct
amba_device
*
dev
,
struct
amba_id
*
id
)
{
struct
amba_kmi_port
*
kmi
;
struct
serio
*
io
;
...
...
@@ -134,7 +134,7 @@ static int amba_kmi_probe(struct amba_device *dev, struct amba_id *id)
io
->
port_data
=
kmi
;
io
->
dev
.
parent
=
&
dev
->
dev
;
kmi
->
io
=
io
;
kmi
->
io
=
io
;
kmi
->
base
=
ioremap
(
dev
->
res
.
start
,
resource_size
(
&
dev
->
res
));
if
(
!
kmi
->
base
)
{
ret
=
-
ENOMEM
;
...
...
@@ -162,7 +162,7 @@ static int amba_kmi_probe(struct amba_device *dev, struct amba_id *id)
return
ret
;
}
static
int
amba_kmi_remove
(
struct
amba_device
*
dev
)
static
int
__devexit
amba_kmi_remove
(
struct
amba_device
*
dev
)
{
struct
amba_kmi_port
*
kmi
=
amba_get_drvdata
(
dev
);
...
...
@@ -201,7 +201,7 @@ static struct amba_driver ambakmi_driver = {
},
.
id_table
=
amba_kmi_idtable
,
.
probe
=
amba_kmi_probe
,
.
remove
=
amba_kmi_remove
,
.
remove
=
__devexit_p
(
amba_kmi_remove
)
,
.
resume
=
amba_kmi_resume
,
};
...
...
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