summaryrefslogtreecommitdiff
path: root/drivers/crypto/atmel-ecc.h
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2018-07-11 18:41:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-16 14:32:08 +0300
commit555e7943f2818391c12aaa4b721b4f5ebb1fd036 (patch)
treea3f755208480b7df983c406e623a49649d030161 /drivers/crypto/atmel-ecc.h
parent3772e5da445420543b25825ac2b5971f3743f6e8 (diff)
downloadlinux-555e7943f2818391c12aaa4b721b4f5ebb1fd036.tar.xz
misc: vexpress/syscfg: Use devm_ioremap_resource() to map memory
Instead of checking the return value of platform_get_resource(), we can use devm_ioremap_resource() which has the NULL pointer check and the memory region requesting. devm_ioremap_resource is designed to replace calls to devm_request_mem_region followed by devm_ioremap, so let's use the same. Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto/atmel-ecc.h')
0 files changed, 0 insertions, 0 deletions