Skip to content
  • Ohad Ben-Cohen's avatar
    remoteproc: simplify unregister/free interfaces · c6b5a276
    Ohad Ben-Cohen authored
    
    
    Simplify the unregister/free interfaces, and make them easier
    to understand and use, by moving to a symmetric and consistent
    alloc() -> register() -> unregister() -> free() flow.
    
    To create and register an rproc instance, one needed to invoke
    rproc_alloc() followed by rproc_register().
    
    To unregister and free an rproc instance, one now needs to invoke
    rproc_unregister() followed by rproc_free().
    
    Cc: Stephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
    c6b5a276