diff options
author | Benjamin Tissoires <[email protected]> | 2012-12-05 15:02:54 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2012-12-06 10:55:15 +0100 |
commit | 29b45787d1f57f82a1c37ff5a47786c6a9dbedd8 (patch) | |
tree | f274b7f44c266934d25265841ad15df0502cfd8e /lib/cpu-notifier-error-inject.c | |
parent | 27174cff8fcfcb3a60a3e7225cc627f6a4b7f827 (diff) |
HID: i2c-hid: reorder allocation/free of buffers
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 <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions