Commit a5c02c2f authored by Robert Gerlach's avatar Robert Gerlach Committed by Matthew Garrett

fujitsu-tablet: remove duplicated code

Signed-off-by: default avatarRobert Gerlach <khnz@gmx.de>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 145047de
...@@ -221,9 +221,6 @@ static int __devinit input_fujitsu_setup(struct device *parent, ...@@ -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_DOCK);
input_set_capability(idev, EV_SW, SW_TABLET_MODE); 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); error = input_register_device(idev);
if (error) { if (error) {
input_free_device(idev); input_free_device(idev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment