From: Jiri Kosina Date: Mon, 30 Apr 2012 08:39:17 +0000 (+0200) Subject: HID: fix return value of hidraw_report_event() when !CONFIG_HIDRAW X-Git-Tag: v3.5-rc1~138^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d7c873529abd622897cad5e36f1fd7d82f5110;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed