avr32: off by one in at32_init_pio()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jul 2016 10:08:55 +0000 (13:08 +0300)
committerHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Fri, 29 Jul 2016 09:55:57 +0000 (11:55 +0200)
commit55f1cf83d5cf885c75267269729805852039c834
treece1a15d91c048fd220be5a791c9d2307ad080d91
parent6ad4a21b67a959c3c31a81af7260a554cf666b7e
avr32: off by one in at32_init_pio()

The pio_dev[] array has MAX_NR_PIO_DEVICES elements so the > should be
>=.

Fixes: 5f97f7f9400d ('[PATCH] avr32 architecture')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
arch/avr32/mach-at32ap/pio.c