summaryrefslogtreecommitdiffstats
path: root/drivers/atm/Kconfig
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>2012-12-05 15:02:54 +0100
committerJiri Kosina <jkosina@suse.cz>2012-12-06 10:55:15 +0100
commit29b45787d1f57f82a1c37ff5a47786c6a9dbedd8 (patch)
treef274b7f44c266934d25265841ad15df0502cfd8e /drivers/atm/Kconfig
parent27174cff8fcfcb3a60a3e7225cc627f6a4b7f827 (diff)
downloadblackbird-op-linux-29b45787d1f57f82a1c37ff5a47786c6a9dbedd8.tar.gz
blackbird-op-linux-29b45787d1f57f82a1c37ff5a47786c6a9dbedd8.zip
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 <benjamin.tissoires@gmail.com> Reviewed-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/atm/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud