public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Small cleanups for input
@ 2003-06-24 10:10 Pavel Machek
  2003-07-08 22:59 ` James Simmons
  0 siblings, 1 reply; 9+ messages in thread
From: Pavel Machek @ 2003-06-24 10:10 UTC (permalink / raw)
  To: vojtech, Rusty trivial patch monkey Russell, kernel list

Hi!

Here are some small cleanups, please apply,
						Pavel
Index: linux/include/linux/serio.h
===================================================================
--- linux.orig/include/linux/serio.h	2003-06-24 11:54:39.000000000 +0200
+++ linux/include/linux/serio.h	2003-05-06 00:51:25.000000000 +0200
@@ -18,10 +18,7 @@
 
 #include <linux/list.h>
 
-struct serio;
-
 struct serio {
-
 	void *private;
 	void *driver;
 	char *name;
@@ -46,7 +43,6 @@
 };
 
 struct serio_dev {
-
 	void *private;
 	char *name;
 
Index: linux/drivers/input/power.c
===================================================================
--- linux.orig/drivers/input/power.c	2003-06-24 11:54:39.000000000 +0200
+++ linux/drivers/input/power.c	2003-04-18 16:19:02.000000000 +0200
@@ -45,9 +45,7 @@
 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 @@
 			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);

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-07-08 23:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-24 10:10 Small cleanups for input Pavel Machek
2003-07-08 22:59 ` James Simmons
2003-07-08 23:14   ` Pavel Machek
2003-07-08 23:23     ` Russell King
2003-07-08 23:32       ` Pavel Machek
2003-07-08 23:51         ` Russell King
2003-07-08 23:54           ` James Simmons
2003-07-08 23:59           ` Patrick Mochel
2003-07-08 23:50       ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox