diff options
Diffstat (limited to 'drivers/input/keyboard/lkkbd.c')
-rw-r--r-- | drivers/input/keyboard/lkkbd.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/input/keyboard/lkkbd.c b/drivers/input/keyboard/lkkbd.c index 1789785813ee..3d4d0a0ede28 100644 --- a/drivers/input/keyboard/lkkbd.c +++ b/drivers/input/keyboard/lkkbd.c | |||
@@ -59,11 +59,6 @@ | |||
59 | * You should have received a copy of the GNU General Public License | 59 | * You should have received a copy of the GNU General Public License |
60 | * along with this program; if not, write to the Free Software | 60 | * along with this program; if not, write to the Free Software |
61 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 61 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
62 | * | ||
63 | * Should you need to contact me, the author, you can do so either by | ||
64 | * email or by paper mail: | ||
65 | * Jan-Benedict Glaw, Lilienstraße 16, 33790 Hörste (near Halle/Westf.), | ||
66 | * Germany. | ||
67 | */ | 62 | */ |
68 | 63 | ||
69 | #include <linux/delay.h> | 64 | #include <linux/delay.h> |
@@ -577,9 +572,9 @@ lkkbd_event (struct input_dev *dev, unsigned int type, unsigned int code, | |||
577 | * were in. | 572 | * were in. |
578 | */ | 573 | */ |
579 | static void | 574 | static void |
580 | lkkbd_reinit (void *data) | 575 | lkkbd_reinit (struct work_struct *work) |
581 | { | 576 | { |
582 | struct lkkbd *lk = data; | 577 | struct lkkbd *lk = container_of(work, struct lkkbd, tq); |
583 | int division; | 578 | int division; |
584 | unsigned char leds_on = 0; | 579 | unsigned char leds_on = 0; |
585 | unsigned char leds_off = 0; | 580 | unsigned char leds_off = 0; |
@@ -656,7 +651,7 @@ lkkbd_connect (struct serio *serio, struct serio_driver *drv) | |||
656 | 651 | ||
657 | lk->serio = serio; | 652 | lk->serio = serio; |
658 | lk->dev = input_dev; | 653 | lk->dev = input_dev; |
659 | INIT_WORK (&lk->tq, lkkbd_reinit, lk); | 654 | INIT_WORK (&lk->tq, lkkbd_reinit); |
660 | lk->bell_volume = bell_volume; | 655 | lk->bell_volume = bell_volume; |
661 | lk->keyclick_volume = keyclick_volume; | 656 | lk->keyclick_volume = keyclick_volume; |
662 | lk->ctrlclick_volume = ctrlclick_volume; | 657 | lk->ctrlclick_volume = ctrlclick_volume; |