i2c: qup: off by ones in qup_i2c_probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 3 Apr 2014 07:22:54 +0000 (10:22 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Apr 2014 08:36:29 +0000 (10:36 +0200)
commit199c1df28d41ec057d92aaa6bd8bf9ebd5686c57
treef88a27b7a9bad2cd080d1f7a42af69056438da23
parent3428f018e6101fe2b999a39850755e8c70a72c75
i2c: qup: off by ones in qup_i2c_probe()

These should ">= ARRAY_SIZE()" instead of "> ARRAY_SIZE()".

Fixes: 10c5a8425968 ('i2c: qup: New bus driver for the Qualcomm QUP I2C controller')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qup.c