gpio: adp5588-gpio: gpio_start must be signed
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 27 Oct 2010 22:33:20 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:07 +0000 (18:03 -0700)
commit9ef8c8c51a7d76bae73e0259c356b24533b6b7c0
tree7dc3a50966ed68cf1980a86729a476521838e0e1
parent459773ae8dbbd480886d186181c6bc2e8556025f
gpio: adp5588-gpio: gpio_start must be signed

Common code interprets this as a signed value (a negative value is used to
request dynamic ID allocation), so make sure the platform data has proper
types to support that.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/i2c/adp5588.h