| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Generic heartbeat driver for regular LED banks |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 13 | 14 | * traditionally used for strobing the load average. This use case is |
|---|
| 14 | 15 | * handled by this driver, rather than giving each LED bit position its |
|---|
| 15 | 16 | * own struct device. |
|---|
| 16 | | - * |
|---|
| 17 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 18 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 19 | | - * for more details. |
|---|
| 20 | 17 | */ |
|---|
| 21 | 18 | #include <linux/init.h> |
|---|
| 22 | 19 | #include <linux/platform_device.h> |
|---|
| .. | .. |
|---|
| 99 | 96 | return -ENOMEM; |
|---|
| 100 | 97 | } |
|---|
| 101 | 98 | |
|---|
| 102 | | - hd->base = ioremap_nocache(res->start, resource_size(res)); |
|---|
| 99 | + hd->base = ioremap(res->start, resource_size(res)); |
|---|
| 103 | 100 | if (unlikely(!hd->base)) { |
|---|
| 104 | 101 | dev_err(&pdev->dev, "ioremap failed\n"); |
|---|
| 105 | 102 | |
|---|