hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/mfd/sta2x11-mfd.c
....@@ -1,24 +1,14 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
3
+ * STA2x11 mfd for GPIO, SCTL and APBREG
4
+ *
25 * Copyright (c) 2009-2011 Wind River Systems, Inc.
36 * Copyright (c) 2011 ST Microelectronics (Alessandro Rubini, Davide Ciminaghi)
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
- * See the GNU General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License
15
- * along with this program; if not, write to the Free Software
16
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
- *
187 */
198
209 #include <linux/kernel.h>
21
-#include <linux/module.h>
10
+#include <linux/init.h>
11
+#include <linux/export.h>
2212 #include <linux/spinlock.h>
2313 #include <linux/errno.h>
2414 #include <linux/device.h>
....@@ -653,8 +643,3 @@
653643 */
654644 subsys_initcall(sta2x11_drivers_init);
655645 rootfs_initcall(sta2x11_mfd_init);
656
-
657
-MODULE_LICENSE("GPL v2");
658
-MODULE_AUTHOR("Wind River");
659
-MODULE_DESCRIPTION("STA2x11 mfd for GPIO, SCTL and APBREG");
660
-MODULE_DEVICE_TABLE(pci, sta2x11_mfd_tbl);