diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 15:46:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 15:46:37 -0500 |
commit | 31564cbd77baa88405862d4aa0d00893ab1d8cb7 (patch) | |
tree | 2eaec947ab64ccfa2d94ca29bf14feb70b8a4b61 /drivers/input/misc/max8997_haptic.c | |
parent | 6842d98de7bb726dfddc719cb9ae022b26a0f2b8 (diff) | |
parent | 022573c275500e1a50889949f679d04b5446edf6 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull second round of input updates from Dmitry Torokhov:
"As usual, there are a couple of new drivers, input core now supports
managed input devices (devres), a slew of drivers now have device tree
support and a bunch of fixes and cleanups."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (71 commits)
Input: walkera0701 - fix crash on startup
Input: matrix-keymap - provide a proper module license
Input: gpio_keys_polled - switch to using gpio_request_one()
Input: gpio_keys - switch to using gpio_request_one()
Input: wacom - fix touch support for Bamboo Fun CTH-461
Input: xpad - add a few new VID/PID combinations
Input: xpad - minor formatting fixes
Input: gpio-keys-polled - honor 'autorepeat' setting in platform data
Input: tca8418-keypad - switch to using managed resources
Input: tca8418_keypad - increase severity of failures in probe()
Input: tca8418_keypad - move device ID tables closer to where they are used
Input: tca8418_keypad - use dev_get_platdata() to retrieve platform data
Input: tca8418_keypad - use a temporary variable for parent device
Input: tca8418_keypad - add support for shared interrupt
Input: tca8418_keypad - add support for device tree bindings
Input: remove Compaq iPAQ H3600 (Bitsy) touchscreen driver
Input: bu21013_ts - add support for Device Tree booting
Input: bu21013_ts - move GPIO init and exit functions into the driver
Input: bu21013_ts - request regulator that actually exists
ARM: ux500: Strip out duplicate touch screen platform information
...
Diffstat (limited to 'drivers/input/misc/max8997_haptic.c')
-rw-r--r-- | drivers/input/misc/max8997_haptic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/max8997_haptic.c b/drivers/input/misc/max8997_haptic.c index 05b7b8bfaf0a..e973133212a5 100644 --- a/drivers/input/misc/max8997_haptic.c +++ b/drivers/input/misc/max8997_haptic.c | |||
@@ -241,7 +241,7 @@ static void max8997_haptic_close(struct input_dev *dev) | |||
241 | max8997_haptic_disable(chip); | 241 | max8997_haptic_disable(chip); |
242 | } | 242 | } |
243 | 243 | ||
244 | static int __devinit max8997_haptic_probe(struct platform_device *pdev) | 244 | static int max8997_haptic_probe(struct platform_device *pdev) |
245 | { | 245 | { |
246 | struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); | 246 | struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); |
247 | const struct max8997_platform_data *pdata = | 247 | const struct max8997_platform_data *pdata = |
@@ -354,7 +354,7 @@ err_free_mem: | |||
354 | return error; | 354 | return error; |
355 | } | 355 | } |
356 | 356 | ||
357 | static int __devexit max8997_haptic_remove(struct platform_device *pdev) | 357 | static int max8997_haptic_remove(struct platform_device *pdev) |
358 | { | 358 | { |
359 | struct max8997_haptic *chip = platform_get_drvdata(pdev); | 359 | struct max8997_haptic *chip = platform_get_drvdata(pdev); |
360 | 360 | ||
@@ -396,7 +396,7 @@ static struct platform_driver max8997_haptic_driver = { | |||
396 | .pm = &max8997_haptic_pm_ops, | 396 | .pm = &max8997_haptic_pm_ops, |
397 | }, | 397 | }, |
398 | .probe = max8997_haptic_probe, | 398 | .probe = max8997_haptic_probe, |
399 | .remove = __devexit_p(max8997_haptic_remove), | 399 | .remove = max8997_haptic_remove, |
400 | .id_table = max8997_haptic_id, | 400 | .id_table = max8997_haptic_id, |
401 | }; | 401 | }; |
402 | module_platform_driver(max8997_haptic_driver); | 402 | module_platform_driver(max8997_haptic_driver); |