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.2.31~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c48cc08ae1255d4b244529408f52d26673e1ccb;p=pandora-kernel.git HID: fix return value of hidraw_report_event() when !CONFIG_HIDRAW commit d6d7c873529abd622897cad5e36f1fd7d82f5110 upstream. 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed