Commit 362c571
committed
HID: wacom: do not call hid_set_drvdata(hdev, NULL)
This is a common pattern in the HID drivers to reset the drvdata.
However, this is actually already handled by driver core, so there
is no need to do it manually.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Jason Gerecke <jason.gerecke@wacom.com>1 parent 670e909 commit 362c571
1 file changed
Lines changed: 5 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2719 | 2719 | | |
2720 | 2720 | | |
2721 | 2721 | | |
2722 | | - | |
2723 | | - | |
2724 | | - | |
2725 | | - | |
| 2722 | + | |
| 2723 | + | |
2726 | 2724 | | |
2727 | 2725 | | |
2728 | 2726 | | |
2729 | | - | |
| 2727 | + | |
2730 | 2728 | | |
2731 | 2729 | | |
2732 | 2730 | | |
| |||
2744 | 2742 | | |
2745 | 2743 | | |
2746 | 2744 | | |
2747 | | - | |
| 2745 | + | |
2748 | 2746 | | |
2749 | 2747 | | |
2750 | 2748 | | |
2751 | 2749 | | |
2752 | | - | |
| 2750 | + | |
2753 | 2751 | | |
2754 | 2752 | | |
2755 | 2753 | | |
| |||
2760 | 2758 | | |
2761 | 2759 | | |
2762 | 2760 | | |
2763 | | - | |
2764 | | - | |
2765 | | - | |
2766 | | - | |
2767 | 2761 | | |
2768 | 2762 | | |
2769 | 2763 | | |
| |||
2792 | 2786 | | |
2793 | 2787 | | |
2794 | 2788 | | |
2795 | | - | |
2796 | | - | |
2797 | 2789 | | |
2798 | 2790 | | |
2799 | 2791 | | |
| |||
0 commit comments