diff options
author | Robert Gerlach <khnz@gmx.de> | 2012-04-03 22:34:33 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-05-31 20:23:38 +0200 |
commit | a5c02c2f63812c265d34ef93e1ea7e5fe2d3a784 (patch) | |
tree | 2653e3ea6a810697b0d9d13527e18d8f5246ddfc /drivers/platform/x86/fujitsu-tablet.c | |
parent | drivers/x86: mark const init data with __initconst instead of __initdata (diff) | |
download | linux-a5c02c2f63812c265d34ef93e1ea7e5fe2d3a784.tar.xz linux-a5c02c2f63812c265d34ef93e1ea7e5fe2d3a784.zip |
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/x86/fujitsu-tablet.c')
-rw-r--r-- | drivers/platform/x86/fujitsu-tablet.c | 3 |
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, input_set_capability(idev, EV_SW, SW_DOCK); input_set_capability(idev, EV_SW, SW_TABLET_MODE); - input_set_capability(idev, EV_SW, SW_DOCK); - input_set_capability(idev, EV_SW, SW_TABLET_MODE); - error = input_register_device(idev); if (error) { input_free_device(idev); |