Commit badd019
mtd: spear_smi: Convert to devm_platform_ioremap_resource()
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230707040622.78174-17-frank.li@vivo.com1 parent 1726813 commit badd019
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
940 | | - | |
941 | 940 | | |
942 | 941 | | |
943 | 942 | | |
| |||
975 | 974 | | |
976 | 975 | | |
977 | 976 | | |
978 | | - | |
979 | | - | |
980 | | - | |
| 977 | + | |
981 | 978 | | |
982 | 979 | | |
983 | 980 | | |
| |||
0 commit comments