hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/mfd/intel_quark_i2c_gpio.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Intel Quark MFD PCI driver for I2C & GPIO
34 *
45 * Copyright(c) 2014 Intel Corporation.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms and conditions of the GNU General Public License,
8
- * version 2, as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope it will be useful, but WITHOUT
11
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- * more details.
146 *
157 * Intel Quark PCI device for I2C and GPIO controller sharing the same
168 * PCI function. This PCI driver will split the 2 devices into their
....@@ -74,16 +66,6 @@
7466 {
7567 .matches = {
7668 DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"),
77
- DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG,
78
- "6ES7647-0AA00-0YA2"),
79
- },
80
- .driver_data = (void *)400000,
81
- },
82
- {
83
- .matches = {
84
- DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"),
85
- DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG,
86
- "6ES7647-0AA00-1YA2"),
8769 },
8870 .driver_data = (void *)400000,
8971 },
....@@ -234,7 +216,6 @@
234216 pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO;
235217 pdata->properties->gpio_base = INTEL_QUARK_MFD_GPIO_BASE;
236218 pdata->properties->irq[0] = pdev->irq;
237
- pdata->properties->has_irq = true;
238219 pdata->properties->irq_shared = true;
239220
240221 cell->platform_data = pdata;