]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mfd: sm501 fix gpio number calculation for upper bank
authorBen Dooks <ben-linux@fluff.org>
Fri, 25 Jul 2008 08:46:03 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:30 +0000 (10:53 -0700)
commit53a9600c634e3bfd6230e0597aca159bf4d4d010
treee1cef8dd88dc0cef7012c6668cc33698c1448a0c
parentf2999209d779573e17468b680f5f267d8cb2a9c7
mfd: sm501 fix gpio number calculation for upper bank

The sm501_gpio_pin2nr() routine returns the wrong values for gpios in the
upper bank.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c