Skip to content

Commit

Permalink
Fixed copy/paste diagram
Browse files Browse the repository at this point in the history
For #197
  • Loading branch information
terricain committed Aug 5, 2017
1 parent cb2c450 commit a1380af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/razermouse_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2195,7 +2195,7 @@ static int razer_mouse_probe(struct hid_device *hdev, const struct hid_device_id
CREATE_DEVICE_FILE(&hdev->dev, &dev_attr_matrix_effect_none);
break;

case USB_DEVICE_ID_RAZER_NAGA_CHROMA:
case USB_DEVICE_ID_RAZER_NAGA_EPIC:
CREATE_DEVICE_FILE(&hdev->dev, &dev_attr_dpi);
CREATE_DEVICE_FILE(&hdev->dev, &dev_attr_poll_rate);
CREATE_DEVICE_FILE(&hdev->dev, &dev_attr_charge_low_threshold);
Expand Down Expand Up @@ -2442,7 +2442,7 @@ static void razer_mouse_disconnect(struct hid_device *hdev)
device_remove_file(&hdev->dev, &dev_attr_matrix_effect_none);
break;

case USB_DEVICE_ID_RAZER_NAGA_CHROMA:
case USB_DEVICE_ID_RAZER_NAGA_EPIC:
device_remove_file(&hdev->dev, &dev_attr_dpi);
device_remove_file(&hdev->dev, &dev_attr_poll_rate);
device_remove_file(&hdev->dev, &dev_attr_charge_low_threshold);
Expand Down

0 comments on commit a1380af

Please sign in to comment.