| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * ipoctal.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Copyright (C) 2009-2012 CERN (www.cern.ch) |
|---|
| 7 | 8 | * Author: Nicolas Serafini, EIC2 SA |
|---|
| 8 | 9 | * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 11 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 12 | | - * Software Foundation; version 2 of the License. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #include <linux/device.h> |
|---|
| .. | .. |
|---|
| 291 | 288 | ipoctal->board_id = ipoctal->dev->id_device; |
|---|
| 292 | 289 | |
|---|
| 293 | 290 | region = &ipoctal->dev->region[IPACK_IO_SPACE]; |
|---|
| 294 | | - addr = devm_ioremap_nocache(&ipoctal->dev->dev, |
|---|
| 291 | + addr = devm_ioremap(&ipoctal->dev->dev, |
|---|
| 295 | 292 | region->start, region->size); |
|---|
| 296 | 293 | if (!addr) { |
|---|
| 297 | 294 | dev_err(&ipoctal->dev->dev, |
|---|
| .. | .. |
|---|
| 307 | 304 | |
|---|
| 308 | 305 | region = &ipoctal->dev->region[IPACK_INT_SPACE]; |
|---|
| 309 | 306 | ipoctal->int_space = |
|---|
| 310 | | - devm_ioremap_nocache(&ipoctal->dev->dev, |
|---|
| 307 | + devm_ioremap(&ipoctal->dev->dev, |
|---|
| 311 | 308 | region->start, region->size); |
|---|
| 312 | 309 | if (!ipoctal->int_space) { |
|---|
| 313 | 310 | dev_err(&ipoctal->dev->dev, |
|---|
| .. | .. |
|---|
| 318 | 315 | |
|---|
| 319 | 316 | region = &ipoctal->dev->region[IPACK_MEM8_SPACE]; |
|---|
| 320 | 317 | ipoctal->mem8_space = |
|---|
| 321 | | - devm_ioremap_nocache(&ipoctal->dev->dev, |
|---|
| 318 | + devm_ioremap(&ipoctal->dev->dev, |
|---|
| 322 | 319 | region->start, 0x8000); |
|---|
| 323 | 320 | if (!ipoctal->mem8_space) { |
|---|
| 324 | 321 | dev_err(&ipoctal->dev->dev, |
|---|