.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/drivers/input/serio/ambakmi.c |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2000-2003 Deep Blue Solutions Ltd. |
---|
5 | 6 | * 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. |
---|
11 | 7 | */ |
---|
12 | 8 | #include <linux/module.h> |
---|
13 | 9 | #include <linux/serio.h> |
---|
.. | .. |
---|
163 | 159 | return ret; |
---|
164 | 160 | } |
---|
165 | 161 | |
---|
166 | | -static int amba_kmi_remove(struct amba_device *dev) |
---|
| 162 | +static void amba_kmi_remove(struct amba_device *dev) |
---|
167 | 163 | { |
---|
168 | 164 | struct amba_kmi_port *kmi = amba_get_drvdata(dev); |
---|
169 | 165 | |
---|
.. | .. |
---|
172 | 168 | iounmap(kmi->base); |
---|
173 | 169 | kfree(kmi); |
---|
174 | 170 | amba_release_regions(dev); |
---|
175 | | - return 0; |
---|
176 | 171 | } |
---|
177 | 172 | |
---|
178 | 173 | static int __maybe_unused amba_kmi_resume(struct device *dev) |
---|