.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Ralink RT2880 timer |
---|
3 | 4 | * 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. |
---|
8 | 5 | * |
---|
9 | 6 | * Copyright (C) 2013 John Crispin <john@phrozen.org> |
---|
10 | 7 | */ |
---|
.. | .. |
---|
109 | 106 | } |
---|
110 | 107 | |
---|
111 | 108 | 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) |
---|
114 | 110 | return rt->irq; |
---|
115 | | - } |
---|
116 | 111 | |
---|
117 | 112 | rt->membase = devm_ioremap_resource(&pdev->dev, res); |
---|
118 | 113 | if (IS_ERR(rt->membase)) |
---|