Commit 9bde3bf
drm: xlnx: zynqmp_dpsub: Use devm_platform_ioremap_resource_byname()
Convert platform_get_resource_byname() + devm_ioremap_resource() to a
single call to devm_platform_ioremap_resource_byname(), as this is
exactly what this function does.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>1 parent 55354ee commit 9bde3bf
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1228 | 1228 | | |
1229 | 1229 | | |
1230 | 1230 | | |
1231 | | - | |
1232 | 1231 | | |
1233 | 1232 | | |
1234 | 1233 | | |
| |||
1238 | 1237 | | |
1239 | 1238 | | |
1240 | 1239 | | |
1241 | | - | |
1242 | | - | |
| 1240 | + | |
1243 | 1241 | | |
1244 | 1242 | | |
1245 | 1243 | | |
1246 | 1244 | | |
1247 | 1245 | | |
1248 | | - | |
1249 | | - | |
| 1246 | + | |
1250 | 1247 | | |
1251 | 1248 | | |
1252 | 1249 | | |
1253 | 1250 | | |
1254 | 1251 | | |
1255 | | - | |
1256 | | - | |
| 1252 | + | |
1257 | 1253 | | |
1258 | 1254 | | |
1259 | 1255 | | |
| |||
0 commit comments