Grant Likely
e80beb27d2
gpio: Make of_count_named_gpios() use new of_count_phandle_with_args()
...
This patch replaces the horribly coded of_count_named_gpios() with a
call to of_count_phandle_with_args() which is far more efficient. This
also changes the return value of of_gpio_count() & of_gpio_named_count()
from 'unsigned int' to 'int' so that it can return an error code. All
the users of that function are fixed up to correctly handle a negative
return value.
v2: Split GPIO portion into a separate patch
Tested-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
2013-02-13 10:11:53 +00:00
..
gameport
Input: remove use of __devexit
2012-11-24 00:05:38 -08:00
joystick
Merge branch 'next' into for-linus
2012-12-16 22:04:14 -08:00
keyboard
gpio: Make of_count_named_gpios() use new of_count_phandle_with_args()
2013-02-13 10:11:53 +00:00
misc
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2012-12-18 12:46:37 -08:00
mouse
Input: sentelic - only report position of first finger as ST coordinates
2012-12-24 09:51:21 -08:00
serio
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2012-12-19 12:56:42 -08:00
tablet
Merge branch 'next' into for-linus
2012-12-16 22:04:14 -08:00
touchscreen
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2012-12-18 12:46:37 -08:00
apm-power.c
Input: random formatting fixes
2012-08-21 22:29:49 -07:00
evbug.c
evdev.c
Input: fix use-after-free introduced with dynamic minor changes
2012-10-22 08:50:37 +03:00
ff-core.c
Input: random formatting fixes
2012-08-21 22:29:49 -07:00
ff-memless.c
Input: random formatting fixes
2012-08-21 22:29:49 -07:00
input-compat.c
input-compat.h
input-mt.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2012-12-18 12:46:37 -08:00
input-polldev.c
input.c
Input: introduce managed input devices (add devres support)
2012-11-08 09:10:05 -08:00
joydev.c
Input: fix use-after-free introduced with dynamic minor changes
2012-10-22 08:50:37 +03:00
Kconfig
Input: matrix-keymap - uninline and prepare for device tree support
2012-05-10 22:38:47 -07:00
Makefile
Input: matrix-keymap - uninline and prepare for device tree support
2012-05-10 22:38:47 -07:00
matrix-keymap.c
Merge branch 'next' into for-linus
2012-12-16 22:04:14 -08:00
mousedev.c
Input: mousedev - move /dev/input/mice to the correct minor
2012-11-18 23:15:16 -08:00
sparse-keymap.c
Input: random formatting fixes
2012-08-21 22:29:49 -07:00