-
Benjamin Tissoires authored
Simplifies i2c_hid_alloc_buffers tests, and makes this function responsible of the assignment of ihid->bufsize. The condition for the reallocation in i2c_hid_start is then simpler. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com> Reviewed-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
29b45787