avr32: off by one in at32_init_pio()

commit 55f1cf83d5 upstream.

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

Fixes: 5f97f7f940 ('[PATCH] avr32 architecture')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Dan Carpenter 2016-07-13 13:08:55 +03:00 • committed by Ben Hutchings
commit 3ebde04572