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
51 x = devm_request_irq(...)51 x = devm_request_irq(...)
52|52|
53 x = devm_ioremap(...)53 x = devm_ioremap(...)
54|
55 x = devm_ioremap_nocache(...)
56|54|
57 x = devm_ioport_map(...)55 x = devm_ioport_map(...)
58)56)
@@ -84,8 +82,6 @@ position p; · 25 unmodified lines
84 x = request_irq(...)82 x = request_irq(...)
85|83|
86 x = ioremap(...)84 x = ioremap(...)
87|
88 x = ioremap_nocache(...)
89|85|
90 x = ioport_map(...)86 x = ioport_map(...)
91)87)
scripts/coccinelle/free/iounmap.cocci+1−1
@@ -23,7 +23,7 @@ int ret; · 22 unmodified lines
23position p1,p2,p3;23position p1,p2,p3;
24@@24@@
25 25
26e = \(ioremap@p1\|ioremap_nocache@p1\)(...)26e = \(ioremap@p1\)(...)
27... when != iounmap(e)27... when != iounmap(e)
28if (<+...e...+>) S28if (<+...e...+>) S
29... when any29... when any