hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/input/serio/ambakmi.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * linux/drivers/input/serio/ambakmi.c
34 *
45 * Copyright (C) 2000-2003 Deep Blue Solutions Ltd.
56 * Copyright (C) 2002 Russell King.
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
117 */
128 #include <linux/module.h>
139 #include <linux/serio.h>
....@@ -163,7 +159,7 @@
163159 return ret;
164160 }
165161
166
-static int amba_kmi_remove(struct amba_device *dev)
162
+static void amba_kmi_remove(struct amba_device *dev)
167163 {
168164 struct amba_kmi_port *kmi = amba_get_drvdata(dev);
169165
....@@ -172,7 +168,6 @@
172168 iounmap(kmi->base);
173169 kfree(kmi);
174170 amba_release_regions(dev);
175
- return 0;
176171 }
177172
178173 static int __maybe_unused amba_kmi_resume(struct device *dev)