lkml.org 
[lkml]   [2024]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: iommu/ipmmu-vmsa: Use devm_platform_get_and_ioremap_resource() in ipmmu_probe()
From
>> Thus reuse existing functionality instead of keeping duplicate source code.
>
> Much as I detest the get_and_ioremap_resource obfuscator, it's not even appropriate here since nothing else is using "res".

Another adjustment might follow for the application of the function “devm_platform_ioremap_resource”.
https://elixir.bootlin.com/linux/v6.8-rc3/source/drivers/base/platform.c#L112

Regards,
Markus

\
 
 \ /
  Last update: 2024-05-27 14:49    [W:2.287 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site