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
40202c73
Commit
40202c73
authored
Oct 04, 2003
by
Rusty Russell
Committed by
Linus Torvalds
Oct 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Small cleanups for input
From: Pavel Machek <pavel@suse.cz>
parent
73b57a09
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
drivers/input/power.c
drivers/input/power.c
+0
-4
include/linux/serio.h
include/linux/serio.h
+0
-4
No files found.
drivers/input/power.c
View file @
40202c73
...
...
@@ -45,9 +45,7 @@ static struct input_handler power_handler;
static
int
suspend_button_pushed
=
0
;
static
void
suspend_button_task_handler
(
void
*
data
)
{
//extern void pm_do_suspend(void);
udelay
(
200
);
/* debounce */
//pm_do_suspend();
suspend_button_pushed
=
0
;
}
...
...
@@ -67,8 +65,6 @@ static void power_event(struct input_handle *handle, unsigned int type,
case
KEY_SUSPEND
:
printk
(
"Powering down entire device
\n
"
);
//pm_send_all(PM_SUSPEND, dev);
if
(
!
suspend_button_pushed
)
{
suspend_button_pushed
=
1
;
schedule_work
(
&
suspend_button_task
);
...
...
include/linux/serio.h
View file @
40202c73
...
...
@@ -18,10 +18,7 @@
#include <linux/list.h>
struct
serio
;
struct
serio
{
void
*
private
;
void
*
driver
;
char
*
name
;
...
...
@@ -45,7 +42,6 @@ struct serio {
};
struct
serio_dev
{
void
*
private
;
char
*
name
;
...
...
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