kernel-fxtec-pro1x/drivers/input/misc
Julia Lawall 72398e4b1a Input: use resource_size when allocating resources
Use the function resource_size, which reduces the chance of
introducing off-by-one errors in calculating the resource size.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
struct resource *res;
@@

- (res->end - res->start) + 1
+ resource_size(res)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-07-07 22:48:14 -07:00
..
apanel.c Input: apanel - convert to new i2c binding 2009-01-07 14:29:17 +01:00
ati_remote.c USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
ati_remote2.c Input: ati_remote2 - use non-atomic bitops 2009-05-19 19:24:42 -07:00
atlas_btns.c Input: atlas_btns - add support for loadable keymaps 2008-01-21 01:11:06 -05:00
cm109.c Input: cm109 - add keymap for ATCom AU-100 phone 2008-11-11 14:02:13 -05:00
cobalt_btns.c Input: use resource_size when allocating resources 2009-07-07 22:48:14 -07:00
dm355evm_keys.c Input: dm355evm_keys - use threaded IRQs 2009-06-29 00:00:14 -07:00
hp_sdc_rtc.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
ixp4xx-beeper.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig Input: add dm355evm_keys driver 2009-04-23 19:29:54 -07:00
keyspan_remote.c Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
m68kspkr.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
Makefile Input: add dm355evm_keys driver 2009-04-23 19:29:54 -07:00
pcf50633-input.c input: PCF50633 input driver 2009-01-11 01:34:25 +01:00
pcspkr.c Input: pcspkr - fix PIT lockup on some chipsets 2008-11-19 16:54:59 -05:00
powermate.c Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
rb532_button.c Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
rotary_encoder.c Input: rotary_encoder - add support for REL_* axes 2009-04-17 20:37:21 -07:00
sgi_btns.c INPUT: sgi_btns: Add license specification 2008-10-27 16:18:28 +00:00
sparcspkr.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
twl4030-pwrbutton.c Input: add twl4030-pwrbutton driver 2009-04-19 23:08:41 -07:00
uinput.c Input: uinput - flush all pending ff effects before destroying device 2009-05-15 19:23:44 -07:00
wistron_btns.c Input: wistron - add support for Fujitsu-Siemens Amilo Pro v3505 2008-08-08 12:19:14 -04:00
yealink.c USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
yealink.h Input: move USB miscellaneous devices under drivers/input/misc 2007-05-08 01:41:29 -04:00