]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: ibm_iic: don't check number of messages in the driver
authorWolfram Sang <wsa@the-dreams.de>
Sun, 20 May 2018 06:50:33 +0000 (08:50 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 24 May 2018 20:05:54 +0000 (22:05 +0200)
commitc216b870657af8b6967445e5fbf3bb95942a53c9
treeef30dbcbfb04537867f9b60d79533204ab33d285
parentef9fc0bad52246f70aa078f679d74db53b5ca675
i2c: ibm_iic: don't check number of messages in the driver

Since commit 1eace8344c02 ("i2c: add param sanity check to
i2c_transfer()"), the I2C core does this check now. We can remove it
from drivers.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Peter Rosin <peda@axentia.se>
drivers/i2c/busses/i2c-ibm_iic.c