remoteproc/davinci: Switch to platform_get_resource_byname()
authorSuman Anna <s-anna@ti.com>
Tue, 1 Aug 2017 15:48:41 +0000 (10:48 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 24 Aug 2017 18:59:53 +0000 (11:59 -0700)
commit6fb9a8f5ada8c1d660830fde7363b1a3b3368373
treeea53d81d6aa24c46e1e532fa1b7078149ddb9cb6
parentc42ca04da57aad91689e681a124a174249bc1a70
remoteproc/davinci: Switch to platform_get_resource_byname()

The davinci remoteproc driver currently uses the platform_get_resource()
API for retrieving the IOMEM resources. Switch this function to use the
platform_get_resource_byname() API instead in preparation for adding the
DT support so that the binding can be agnostic of the IOMEM resource
order.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/da8xx_remoteproc.c