From: Srinivas Pandruvada Date: Wed, 18 Sep 2013 17:13:00 +0000 (+0100) Subject: HID: Delay opening HID device X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~453^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1df3a401154add23826d714c808204633b3b1c31;p=pandora-kernel.git HID: Delay opening HID device Don't call hid_open_device till there is actually an user. This saves power by not opening underlying transport for HID. Also close device if there are no active mfd client using HID sensor hub. Signed-off-by: Srinivas Pandruvada Signed-off-by: Jiri Kosina Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed