.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * HID driver for Google Fiber TV Box remote controls |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2014-2015 Google Inc. |
---|
5 | 6 | * |
---|
6 | 7 | * 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. |
---|
12 | 8 | */ |
---|
13 | 9 | #include <linux/device.h> |
---|
14 | 10 | #include <linux/hid.h> |
---|
.. | .. |
---|
127 | 123 | return ret; |
---|
128 | 124 | } |
---|
129 | 125 | |
---|
130 | | -static void gfrm_remove(struct hid_device *hdev) |
---|
131 | | -{ |
---|
132 | | - hid_hw_stop(hdev); |
---|
133 | | - hid_set_drvdata(hdev, NULL); |
---|
134 | | -} |
---|
135 | | - |
---|
136 | 126 | static const struct hid_device_id gfrm_devices[] = { |
---|
137 | 127 | { HID_BLUETOOTH_DEVICE(0x58, 0x2000), |
---|
138 | 128 | .driver_data = GFRM100 }, |
---|
.. | .. |
---|
146 | 136 | .name = "gfrm", |
---|
147 | 137 | .id_table = gfrm_devices, |
---|
148 | 138 | .probe = gfrm_probe, |
---|
149 | | - .remove = gfrm_remove, |
---|
150 | 139 | .input_mapping = gfrm_input_mapping, |
---|
151 | 140 | .raw_event = gfrm_raw_event, |
---|
152 | 141 | .input_configured = gfrm_input_configured, |
---|