remoteproc: support default firmware name in rproc_alloc()
authorRobert Tivy <rtivy@ti.com>
Fri, 29 Mar 2013 01:41:44 +0000 (18:41 -0700)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 7 Apr 2013 12:40:04 +0000 (15:40 +0300)
commit8b4aec9ac7b59754df9c594569af9ae8f456ee07
tree2ccfb6df12fc10d3c4219184202c9d8246e5bfe1
parente5bc0294ca03a684f322a1a37538ebc3c121d86a
remoteproc: support default firmware name in rproc_alloc()

If rproc_alloc isn't given a firmware name, look for a default
one using the "rproc-%s-fw" template.

Signed-off-by: Robert Tivy <rtivy@ti.com>
[add commit log, document change, use snprintf, minor style change]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c