hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/power/reset/vexpress-poweroff.c
....@@ -1,12 +1,5 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
2
- * This program is free software; you can redistribute it and/or modify
3
- * it under the terms of the GNU General Public License version 2 as
4
- * published by the Free Software Foundation.
5
- *
6
- * This program is distributed in the hope that it will be useful,
7
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
8
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
- * GNU General Public License for more details.
103 *
114 * Copyright (C) 2012 ARM Limited
125 */
....@@ -153,9 +146,4 @@
153146 .suppress_bind_attrs = true,
154147 },
155148 };
156
-
157
-static int __init vexpress_reset_init(void)
158
-{
159
- return platform_driver_register(&vexpress_reset_driver);
160
-}
161
-device_initcall(vexpress_reset_init);
149
+builtin_platform_driver(vexpress_reset_driver);