.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * OMAP4 specific common source file. |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010 Texas Instruments, Inc. |
---|
5 | 6 | * Author: |
---|
6 | 7 | * Santosh Shilimkar <santosh.shilimkar@ti.com> |
---|
7 | | - * |
---|
8 | | - * |
---|
9 | | - * This program is free software,you can redistribute it and/or modify |
---|
10 | | - * it under the terms of the GNU General Public License version 2 as |
---|
11 | | - * published by the Free Software Foundation. |
---|
12 | 8 | */ |
---|
13 | 9 | |
---|
14 | 10 | #include <linux/kernel.h> |
---|
.. | .. |
---|
318 | 314 | |
---|
319 | 315 | np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-gic"); |
---|
320 | 316 | gic_dist_base_addr = of_iomap(np, 0); |
---|
| 317 | + of_node_put(np); |
---|
321 | 318 | WARN_ON(!gic_dist_base_addr); |
---|
322 | 319 | |
---|
323 | 320 | np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-twd-timer"); |
---|
324 | 321 | twd_base = of_iomap(np, 0); |
---|
| 322 | + of_node_put(np); |
---|
325 | 323 | WARN_ON(!twd_base); |
---|
326 | 324 | |
---|
327 | 325 | skip_errata_init: |
---|