hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/clocksource/timer-probe.c
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License
14
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165
176 #include <linux/acpi.h>
....@@ -22,7 +11,7 @@
2211 extern struct of_device_id __timer_of_table[];
2312
2413 static const struct of_device_id __timer_of_table_sentinel
25
- __used __section(__timer_of_table_end);
14
+ __used __section("__timer_of_table_end");
2615
2716 void __init timer_probe(void)
2817 {
....@@ -40,7 +29,9 @@
4029
4130 ret = init_func_ret(np);
4231 if (ret) {
43
- pr_err("Failed to initialize '%pOF': %d\n", np, ret);
32
+ if (ret != -EPROBE_DEFER)
33
+ pr_err("Failed to initialize '%pOF': %d\n", np,
34
+ ret);
4435 continue;
4536 }
4637