fujitsu-tablet: remove duplicated code
Signed-off-by: Robert Gerlach <khnz@gmx.de> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
145047de99
commit
a5c02c2f63
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue