hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/hid/hid-gfrm.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * HID driver for Google Fiber TV Box remote controls
34 *
45 * Copyright (c) 2014-2015 Google Inc.
56 *
67 * Author: Petri Gynther <pgynther@google.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the Free
10
- * Software Foundation; either version 2 of the License, or (at your option)
11
- * any later version.
128 */
139 #include <linux/device.h>
1410 #include <linux/hid.h>
....@@ -127,12 +123,6 @@
127123 return ret;
128124 }
129125
130
-static void gfrm_remove(struct hid_device *hdev)
131
-{
132
- hid_hw_stop(hdev);
133
- hid_set_drvdata(hdev, NULL);
134
-}
135
-
136126 static const struct hid_device_id gfrm_devices[] = {
137127 { HID_BLUETOOTH_DEVICE(0x58, 0x2000),
138128 .driver_data = GFRM100 },
....@@ -146,7 +136,6 @@
146136 .name = "gfrm",
147137 .id_table = gfrm_devices,
148138 .probe = gfrm_probe,
149
- .remove = gfrm_remove,
150139 .input_mapping = gfrm_input_mapping,
151140 .raw_event = gfrm_raw_event,
152141 .input_configured = gfrm_input_configured,