On 2024-02-05 11:52 am, Markus Elfring wrote:
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".I got the impression that this local variable is needed to perform a desired function call.
Yes, the call to devm_ioremap_resource(). Which you're proposing to remove...
Thanks, Robin.