History

remove ioremap_nocache and devm_ioremap_nocache

ioremap has provided non-cached semantics by default since the Linux 2.6 days, so remove the additional ioremap_nocache interface.

Christoph Hellwig committed 6 years ago

Commit 4bdc0d61 parent d23cc63368 files · +508 −581Browse files

Showing the changes to scripts (2 of 368 files). Show all

Unified · Split

2 files
  1. scripts/coccinelle/free/devm_free.cocci +0 −4
  2. scripts/coccinelle/free/iounmap.cocci +1 −1
scripts/coccinelle/free/devm_free.cocci+0−4
@@ -51,8 +51,6 @@ expression x; · 50 unmodified lines
5151 x = devm_request_irq(...)
5252 |
5353 x = devm_ioremap(...)
54−|
55− x = devm_ioremap_nocache(...)
5654 |
5755 x = devm_ioport_map(...)
5856 )
@@ -84,8 +82,6 @@ position p; · 25 unmodified lines
8482 x = request_irq(...)
8583 |
8684 x = ioremap(...)
87−|
88− x = ioremap_nocache(...)
8985 |
9086 x = ioport_map(...)
9187 )
scripts/coccinelle/free/iounmap.cocci+1−1
@@ -23,7 +23,7 @@ int ret; · 22 unmodified lines
2323 position p1,p2,p3;
2424 @@
2525
26−e = \(ioremap@p1\|ioremap_nocache@p1\)(...)
26+e = \(ioremap@p1\)(...)
2727 ... when != iounmap(e)
2828 if (<+...e...+>) S
2929 ... when any