From: K. Y. Srinivasan Date: Wed, 16 May 2012 20:50:13 +0000 (-0700) Subject: HID: hyperv: Set the hid drvdata correctly X-Git-Tag: v3.5-rc1~138^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b565a3906a92fe87b162cdcd11268589a36dc6dd;p=pandora-kernel.git HID: hyperv: Set the hid drvdata correctly Set the hid drvdata prior to invoking hid_add_device() as hid_add_device() expects this state to be set. This bug was introduced in the recent hid changes that were made in 07d9ab4f0e52cb ("HID: hid-hyperv: Do not use hid_parse_report() directly"). Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed