aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorRobert Gerlach <khnz@gmx.de>2012-04-03 16:34:33 -0400
committerMatthew Garrett <mjg@redhat.com>2012-05-31 14:23:38 -0400
commita5c02c2f63812c265d34ef93e1ea7e5fe2d3a784 (patch)
tree2653e3ea6a810697b0d9d13527e18d8f5246ddfc /drivers/platform
parent145047de994098dcc1a342af6444b2a7d64c4075 (diff)
fujitsu-tablet: remove duplicated code
Signed-off-by: Robert Gerlach <khnz@gmx.de> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/fujitsu-tablet.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c
index 580d80a73c3a..4830f5d297e9 100644
--- a/drivers/platform/x86/fujitsu-tablet.c
+++ b/drivers/platform/x86/fujitsu-tablet.c
@@ -221,9 +221,6 @@ static int __devinit input_fujitsu_setup(struct device *parent,
221 input_set_capability(idev, EV_SW, SW_DOCK); 221 input_set_capability(idev, EV_SW, SW_DOCK);
222 input_set_capability(idev, EV_SW, SW_TABLET_MODE); 222 input_set_capability(idev, EV_SW, SW_TABLET_MODE);
223 223
224 input_set_capability(idev, EV_SW, SW_DOCK);
225 input_set_capability(idev, EV_SW, SW_TABLET_MODE);
226
227 error = input_register_device(idev); 224 error = input_register_device(idev);
228 if (error) { 225 if (error) {
229 input_free_device(idev); 226 input_free_device(idev);