aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/gameport/gameport.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-09 19:08:05 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-09 19:10:18 -0400
commit7e044e056a6aa0dc695db50461d7b326fde15e8b (patch)
treebc0a26dbd140e54e1cfa9d67ad93ad890f50775f /drivers/input/gameport/gameport.c
parent6f660f12d703fa23069317f0a64c6b75d08c15c2 (diff)
Input: serio - do not use deprecated dev.power.power_state
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/gameport/gameport.c')
-rw-r--r--drivers/input/gameport/gameport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c
index 0279d6983cc8..ac11be08585e 100644
--- a/drivers/input/gameport/gameport.c
+++ b/drivers/input/gameport/gameport.c
@@ -723,7 +723,7 @@ int __gameport_register_driver(struct gameport_driver *drv, struct module *owner
723 * Temporarily disable automatic binding because probing 723 * Temporarily disable automatic binding because probing
724 * takes long time and we are better off doing it in kgameportd 724 * takes long time and we are better off doing it in kgameportd
725 */ 725 */
726 drv->ignore = 1; 726 drv->ignore = true;
727 727
728 error = driver_register(&drv->driver); 728 error = driver_register(&drv->driver);
729 if (error) { 729 if (error) {
@@ -736,7 +736,7 @@ int __gameport_register_driver(struct gameport_driver *drv, struct module *owner
736 /* 736 /*
737 * Reset ignore flag and let kgameportd bind the driver to free ports 737 * Reset ignore flag and let kgameportd bind the driver to free ports
738 */ 738 */
739 drv->ignore = 0; 739 drv->ignore = false;
740 error = gameport_queue_event(drv, NULL, GAMEPORT_ATTACH_DRIVER); 740 error = gameport_queue_event(drv, NULL, GAMEPORT_ATTACH_DRIVER);
741 if (error) { 741 if (error) {
742 driver_unregister(&drv->driver); 742 driver_unregister(&drv->driver);
@@ -753,7 +753,7 @@ void gameport_unregister_driver(struct gameport_driver *drv)
753 753
754 mutex_lock(&gameport_mutex); 754 mutex_lock(&gameport_mutex);
755 755
756 drv->ignore = 1; /* so gameport_find_driver ignores it */ 756 drv->ignore = true; /* so gameport_find_driver ignores it */
757 gameport_remove_pending_events(drv); 757 gameport_remove_pending_events(drv);
758 758
759start_over: 759start_over: