Commit 67127f8
net: ftgmac100: Use devm_request_memory_region/devm_ioremap
Make use of devm_ methods to request and remap the device memory to
simplify cleanup.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-5-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent f4bef83 commit 67127f8
1 file changed
Lines changed: 6 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1897 | 1897 | | |
1898 | 1898 | | |
1899 | 1899 | | |
1900 | | - | |
1901 | | - | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
1902 | 1903 | | |
1903 | 1904 | | |
1904 | | - | |
1905 | | - | |
| 1905 | + | |
1906 | 1906 | | |
1907 | 1907 | | |
1908 | | - | |
| 1908 | + | |
1909 | 1909 | | |
1910 | 1910 | | |
1911 | | - | |
1912 | | - | |
| 1911 | + | |
1913 | 1912 | | |
1914 | 1913 | | |
1915 | 1914 | | |
| |||
2074 | 2073 | | |
2075 | 2074 | | |
2076 | 2075 | | |
2077 | | - | |
2078 | | - | |
2079 | | - | |
2080 | | - | |
2081 | 2076 | | |
2082 | 2077 | | |
2083 | 2078 | | |
| |||
2104 | 2099 | | |
2105 | 2100 | | |
2106 | 2101 | | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
2110 | 2102 | | |
2111 | 2103 | | |
2112 | 2104 | | |
| |||
0 commit comments