summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKenneth Kwak <kkwak@nvidia.com>2014-06-24 21:36:02 -0700
committerPeter Kim <pekim@nvidia.com>2014-06-25 19:11:02 -0700
commita3ed1fae3af45fc85b96ff2a4180977482c8235b (patch)
tree159687d8ce2612337c1ef64a9f0e6aa26e2e5b8d /drivers
parent45619115cebae2d5f3344a08476a1e09ea031c75 (diff)
Revert "HID: Exporting hidinput_calc_ads_res"
DO NOT INTEGRATE Bug 1466757 This reverts commit e5ab87ee1c4f0c3f8557ddde3be07d43b94aae07. Change-Id: I2805688d8be8b2b3bc67e408a5556970f38bd0af Signed-off-by: Kenneth Kwak <kkwak@nvidia.com> Reviewed-on: http://git-master/r/428075 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hid/hid-input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 89eeb6d61329..43669731afc9 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -208,7 +208,7 @@ static int hidinput_setkeycode(struct input_dev *dev,
* Only exponent 1 length units are processed. Centimeters and inches are
* converted to millimeters. Degrees are converted to radians.
*/
-__s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code)
+static __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code)
{
__s32 unit_exponent = field->unit_exponent;
__s32 logical_extents = field->logical_maximum -
@@ -272,7 +272,6 @@ __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code)
/* Calculate resolution */
return logical_extents / physical_extents;
}
-EXPORT_SYMBOL_GPL(hidinput_calc_abs_res);
#ifdef CONFIG_HID_BATTERY_STRENGTH
static enum power_supply_property hidinput_battery_props[] = {