hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/input/touchscreen/silead.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* -------------------------------------------------------------------------
23 * Copyright (C) 2014-2015, Intel Corporation
34 *
....@@ -5,15 +6,6 @@
56 * gslX68X.c
67 * Copyright (C) 2010-2015, Shanghai Sileadinc Co.Ltd
78 *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
179 * -------------------------------------------------------------------------
1810 */
1911
....@@ -297,7 +289,7 @@
297289
298290 dev_dbg(dev, "Firmware file name: %s", data->fw_name);
299291
300
- error = request_firmware(&fw, data->fw_name, dev);
292
+ error = firmware_request_platform(&fw, data->fw_name, dev);
301293 if (error) {
302294 dev_err(dev, "Firmware request error %d\n", error);
303295 return error;