diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-09 16:32:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-09 16:32:24 -0400 |
commit | baf4974e496957681403d4bf74a3274ed3f85277 (patch) | |
tree | 7c255a3e8a27f21ccc40a9886d40673c945a8073 /drivers/input/misc | |
parent | 79a6f564401f1d47989e706d47053a650f296966 (diff) | |
parent | d3d2dfe2d723051cac323017af5d0180ba8de4c1 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: i8042 - print debug data when testing AUX IRQ delivery
Input: libps2 - fix dependancy on i8042
Input: fix rx51 board keymap
Input: ad7879 - pass up error codes from probe functions
Input: xpad - add BigBen Interactive XBOX 360 Controller
Input: rotary_encoder - fix relative axis support
Input: sparkspkr - move remove() functions to .devexit.text
Input: wistron_btns - add DMI entry for Medion WIM2030 laptop
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/rotary_encoder.c | 4 | ||||
-rw-r--r-- | drivers/input/misc/sparcspkr.c | 4 | ||||
-rw-r--r-- | drivers/input/misc/wistron_btns.c | 9 |
3 files changed, 13 insertions, 4 deletions
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index c806fbf1e174..3b9f588fc747 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c | |||
@@ -106,8 +106,8 @@ static int __devinit rotary_encoder_probe(struct platform_device *pdev) | |||
106 | struct input_dev *input; | 106 | struct input_dev *input; |
107 | int err; | 107 | int err; |
108 | 108 | ||
109 | if (!pdata || !pdata->steps) { | 109 | if (!pdata) { |
110 | dev_err(&pdev->dev, "invalid platform data\n"); | 110 | dev_err(&pdev->dev, "missing platform data\n"); |
111 | return -ENOENT; | 111 | return -ENOENT; |
112 | } | 112 | } |
113 | 113 | ||
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c index c4f42311fdec..b064419b90a2 100644 --- a/drivers/input/misc/sparcspkr.c +++ b/drivers/input/misc/sparcspkr.c | |||
@@ -230,7 +230,7 @@ out_err: | |||
230 | return err; | 230 | return err; |
231 | } | 231 | } |
232 | 232 | ||
233 | static int bbc_remove(struct of_device *op) | 233 | static int __devexit bbc_remove(struct of_device *op) |
234 | { | 234 | { |
235 | struct sparcspkr_state *state = dev_get_drvdata(&op->dev); | 235 | struct sparcspkr_state *state = dev_get_drvdata(&op->dev); |
236 | struct input_dev *input_dev = state->input_dev; | 236 | struct input_dev *input_dev = state->input_dev; |
@@ -308,7 +308,7 @@ out_err: | |||
308 | return err; | 308 | return err; |
309 | } | 309 | } |
310 | 310 | ||
311 | static int grover_remove(struct of_device *op) | 311 | static int __devexit grover_remove(struct of_device *op) |
312 | { | 312 | { |
313 | struct sparcspkr_state *state = dev_get_drvdata(&op->dev); | 313 | struct sparcspkr_state *state = dev_get_drvdata(&op->dev); |
314 | struct grover_beep_info *info = &state->u.grover; | 314 | struct grover_beep_info *info = &state->u.grover; |
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index 11fd038a078f..a932179c4c9e 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c | |||
@@ -936,6 +936,15 @@ static struct dmi_system_id dmi_ids[] __initdata = { | |||
936 | }, | 936 | }, |
937 | { | 937 | { |
938 | .callback = dmi_matched, | 938 | .callback = dmi_matched, |
939 | .ident = "Medion MD 42200", | ||
940 | .matches = { | ||
941 | DMI_MATCH(DMI_SYS_VENDOR, "Medion"), | ||
942 | DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"), | ||
943 | }, | ||
944 | .driver_data = keymap_fs_amilo_pro_v2000 | ||
945 | }, | ||
946 | { | ||
947 | .callback = dmi_matched, | ||
939 | .ident = "Medion MD 96500", | 948 | .ident = "Medion MD 96500", |
940 | .matches = { | 949 | .matches = { |
941 | DMI_MATCH(DMI_SYS_VENDOR, "MEDIONPC"), | 950 | DMI_MATCH(DMI_SYS_VENDOR, "MEDIONPC"), |