media: tm6000: don't check number of messages in the driver
authorWolfram Sang <wsa@the-dreams.de>
Sun, 20 May 2018 06:50:37 +0000 (02:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 27 Jul 2018 10:39:57 +0000 (06:39 -0400)
commita27c0cad9e658dbc548e6731d9416b793fa68f03
tree408f2069b7b0541a8da0b067a9fee533ef824c92
parent8f2240cc4e4f2ae564f9235560fca3e2115d77e0
media: tm6000: 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/tm6000/tm6000-i2c.c