remoteproc: code cleanup of resource parsing
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Thu, 21 Feb 2013 17:15:36 +0000 (18:15 +0100)
committerOhad Ben-Cohen <ohad@wizery.com>
Fri, 5 Apr 2013 05:50:07 +0000 (08:50 +0300)
commit232fcdbb450000850bef8ff7e022cde2b4053f67
tree4ba1fb64407df834785bc948b7dfaa7d4ae98b34
parente4b51414813faf5cdc89e373b2e44cdbead09459
remoteproc: code cleanup of resource parsing

Combine the almost identical functions rproc_handle_virtio_rsc
and rproc_handle_boot_rsc.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Ido Yariv <ido@wizery.com>
[small terminology and style changes]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c