Tag: de0fa83c410d8ad4bcee72814562eb1be7551edf

spi/spi-{bcm63xx.c,bfin-v3.c}: 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 …

Lire la suite