diff options
Diffstat (limited to 'drivers/hid/hid-alps.c')
| -rw-r--r-- | drivers/hid/hid-alps.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c index 3feaece13ade..2b986d0dbde4 100644 --- a/drivers/hid/hid-alps.c +++ b/drivers/hid/hid-alps.c @@ -74,7 +74,7 @@ enum dev_num {  	UNKNOWN,  };  /** - * struct u1_data + * struct alps_dev   *   * @input: pointer to the kernel input device   * @input2: pointer to the kernel input2 device @@ -761,6 +761,7 @@ static int alps_input_configured(struct hid_device *hdev, struct hid_input *hi)  		if (input_register_device(data->input2)) {  			input_free_device(input2); +			ret = -ENOENT;  			goto exit;  		}  	} | 
