hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/arch/mips/ralink/timer.c
....@@ -1,10 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Ralink RT2880 timer
34 * Author: John Crispin
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License version 2 as published
7
- * by the Free Software Foundation.
85 *
96 * Copyright (C) 2013 John Crispin <john@phrozen.org>
107 */
....@@ -109,10 +106,8 @@
109106 }
110107
111108 rt->irq = platform_get_irq(pdev, 0);
112
- if (rt->irq < 0) {
113
- dev_err(&pdev->dev, "failed to load irq\n");
109
+ if (rt->irq < 0)
114110 return rt->irq;
115
- }
116111
117112 rt->membase = devm_ioremap_resource(&pdev->dev, res);
118113 if (IS_ERR(rt->membase))