hid-sensor-hub.c: fix wrong do_div() usage
authorNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 3 Nov 2015 22:01:46 +0000 (17:01 -0500)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:19:58 +0000 (16:49 +0530)
commit47ccdf2dba62f9931047bd4bc3bfbddfcbef1b7e
treebc1abf528270a252868ec637ee58293be0a22276
parent486057e23399589d5d2b904bfbfcd48ea9c72066
hid-sensor-hub.c: fix wrong do_div() usage

do_div() must only be used with a u64 dividend.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
(cherry picked from commit 8d43b49e7e0070f96ac46d30659a336c0224fa0b)
Signed-off-by: Guenter Roeck <groeck@chromium.org>
drivers/hid/hid-sensor-hub.c