]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: gpio-gb: remove checks for negative offset variable
authorBill Pemberton <wfp5p@worldbroken.com>
Fri, 16 Jan 2015 18:57:32 +0000 (13:57 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 16 Jan 2015 19:08:15 +0000 (11:08 -0800)
commit76590b1e882f4c275df695ae0641fb2d059cd9c3
tree14461dc135971f21fe86a8a55366118e78c5d29e
parent9d677cf604212313f41097e2f542e1923d717086
greybus: gpio-gb: remove checks for negative offset variable

offset is defined as unsigned so there is no point checking for
negative values of offset.

Signed-off-by: Bill Pemberton <wfp5p@worldbroken.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/gpio-gb.c