fb: adv7393: off by one in probe function
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jul 2016 11:08:17 +0000 (14:08 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 30 Aug 2016 09:06:12 +0000 (12:06 +0300)
commitee65e18206f5b430d71c39f72fa85a8d1f2b999d
tree05b5685bad8e765e1e522635aac9f31667440491
parentd4b9efa3b9aa7d4c0e946ecb634154132402158f
fb: adv7393: off by one in probe function

This should be >= instead of >.  It's a little bit clearer if we just
get rid of the temporary variable and just use ARRAY_SIZE() directly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/bfin_adv7393fb.c