commit | c737bcf92ea206d3b5d351890f1ade9e12ad4cbe | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | Tue Dec 04 16:27:50 2012 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Dec 05 11:27:54 2012 +0100 |
tree | f5e868e36a4faeb9c74ca8a7c03790800d3f4bb9 | |
parent | 134ebfd86b9353a3d98f9f4e93b4e79824a4b49a [diff] |
HID: i2c-hid: i2c_hid_get_report may fail If i2c_hid_get_report fails, exit i2c_hid_init_report. The printk log is already called by i2c_hid_get_report, so no need to add some more printks. 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>