Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323454
b: refs/heads/master
c: bb5c32d
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Prémont authored and Jiri Kosina committed Sep 19, 2012
1 parent 5f55892 commit 4b95ce0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9a7c79b9427b9c1ce17a007a80caf3deb390bcd
refs/heads/master: bb5c32d99899b0c5c46c4b0d3165de66a6981f8a
18 changes: 0 additions & 18 deletions trunk/drivers/hid/hid-picolcd_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,14 +477,6 @@ static int picolcd_probe_lcd(struct hid_device *hdev, struct picolcd_data *data)
{
int error;

error = picolcd_check_version(hdev);
if (error)
return error;

if (data->version[0] != 0 && data->version[1] != 3)
hid_info(hdev, "Device with untested firmware revision, please submit /sys/kernel/debug/hid/%s/rdesc for this device.\n",
dev_name(&hdev->dev));

/* Setup keypad input device */
error = picolcd_init_keys(data, picolcd_in_report(REPORT_KEY_STATE, hdev));
if (error)
Expand Down Expand Up @@ -533,16 +525,6 @@ static int picolcd_probe_lcd(struct hid_device *hdev, struct picolcd_data *data)

static int picolcd_probe_bootloader(struct hid_device *hdev, struct picolcd_data *data)
{
int error;

error = picolcd_check_version(hdev);
if (error)
return error;

if (data->version[0] != 1 && data->version[1] != 0)
hid_info(hdev, "Device with untested bootloader revision, please submit /sys/kernel/debug/hid/%s/rdesc for this device.\n",
dev_name(&hdev->dev));

picolcd_init_devfs(data, NULL, NULL,
picolcd_out_report(REPORT_BL_READ_MEMORY, hdev),
picolcd_out_report(REPORT_BL_WRITE_MEMORY, hdev), NULL);
Expand Down

0 comments on commit 4b95ce0

Please sign in to comment.