]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5cc8c3227bdfbbef7e203c5cb3a3c1d2a50c7dd2
tree7dc3a50966ed68cf1980a86729a476521838e0e1
parent8efc4fe881b79b39dc43570940c4b625ab2a963e
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