]> git.baikalelectronics.ru Git - kernel.git/commit
HID: explain the signed/unsigned handling in hid_add_field()
authorJiri Kosina <jkosina@suse.cz>
Mon, 14 May 2012 13:02:56 +0000 (15:02 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 May 2012 13:02:56 +0000 (15:02 +0200)
commitabea69aa74d4d04f8ab1a1ba70deb35945097d51
tree3dad5b2a083c964a6b9d74d0041d9530cde812bd
parent09af5e0450652b765880b78cfcd9e1119d3bc2ee
HID: explain the signed/unsigned handling in hid_add_field()

Put a comment that clarifies the condition that handles both signed
and unsigned case for logical min/max in hid_add_field().

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c