Tag: e044253b3b4fb5a8b275202511a4d9765ac0a982

rtc: simplify use of devm_ioremap_resource

Author: Julia Lawall <Julia.Lawall@lip6.fr> Remove unneeded error handling on the result of a call to platform_get_resource when the value is passed to devm_ioremap_resource. Move the call to platform_get_resource adjacent to the call to devm_ioremap_resource to make the connection between them more clear. A simplified version of the semantic patch that makes this change is as …

Continue reading