On 08/05/17 14:32, Laurent Pinchart wrote: > The devm_ioremap_resource() call can handle being given a NULL resource, > and prints an error message when mapping fails. Switch the remaining > devm_ioremap() calls to devm_ioremap_resource() and remove all > extraneous resource NULL checks and error messages printed manually by > the driver. Looks like in some places we check for "!ret" and in some "IS_ERR(ret)"... Tomi