HID: fix return value of hidraw_report_event() when !CONFIG_HIDRAW
authorJiri Kosina <jkosina@suse.cz>
Mon, 30 Apr 2012 08:39:17 +0000 (10:39 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Apr 2012 08:39:17 +0000 (10:39 +0200)
commitd6d7c873529abd622897cad5e36f1fd7d82f5110
tree6165aa0ccaffaead042aac76a61f3a41848fe5c7
parentb6787242f32700377d3da3b8d788ab3928bab849
HID: fix return value of hidraw_report_event() when !CONFIG_HIDRAW

Commit b6787242f327 ("HID: hidraw: add proper error handling to raw event
reporting") forgot to update the static inline version of
hidraw_report_event() for the case when CONFIG_HIDRAW is unset. Fix that
up.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hidraw.h