hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/acpi/pci_slot.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * pci_slot.c - ACPI PCI Slot Driver
34 *
....@@ -11,15 +12,6 @@
1112 *
1213 * Copyright (C) 2013 Huawei Tech. Co., Ltd.
1314 * Jiang Liu <jiang.liu@huawei.com>
14
- *
15
- * This program is free software; you can redistribute it and/or modify it
16
- * under the terms and conditions of the GNU General Public License,
17
- * version 2, as published by the Free Software Foundation.
18
- *
19
- * This program is distributed in the hope that it will be useful, but
20
- * WITHOUT ANY WARRANTY; without even the implied warranty of
21
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22
- * General Public License for more details.
2315 */
2416
2517 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -35,9 +27,6 @@
3527 #include <linux/pci-acpi.h>
3628
3729 static int check_sta_before_sun;
38
-
39
-#define _COMPONENT ACPI_PCI_COMPONENT
40
-ACPI_MODULE_NAME("pci_slot");
4130
4231 #define SLOT_NAME_SIZE 21 /* Inspired by #define in acpiphp.h */
4332