summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid Yu <davyu@nvidia.com>2013-07-25 14:48:06 +0900
committerGabby Lee <galee@nvidia.com>2013-07-29 21:01:05 -0700
commitb76356a5c3277e84b4710c7b8c6a7ef6cad7ac1a (patch)
treea0a98de2404287af198d01180b4169dfa73d6851 /drivers
parent8a4f9c5c5851ecd75ce6ad698c5b53aca7e97958 (diff)
input: misc: mpu: remove unnecessary close()
Bug 1322187 Change-Id: I9adb3d260ed7e62052b7fc37f98547e2b792dd4d Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/253226 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/misc/mpu/inv_gyro.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/misc/mpu/inv_gyro.c b/drivers/input/misc/mpu/inv_gyro.c
index 65e375f9d2e6..a214a8c29efe 100644
--- a/drivers/input/misc/mpu/inv_gyro.c
+++ b/drivers/input/misc/mpu/inv_gyro.c
@@ -3857,9 +3857,11 @@ static int inv_setup_input(struct inv_gyro_state_s *st,
idev->id.vendor = ('I'<<8) | 'S';
idev->id.version = 1;
idev->dev.parent = &client->dev;
+#if 0
/* Open and close method. */
if (strcmp(name, "INV_DMP"))
idev->close = inv_input_close;
+#endif
input_set_capability(idev, EV_REL, REL_X);
input_set_capability(idev, EV_REL, REL_Y);
input_set_capability(idev, EV_REL, REL_Z);