[PATCH resend 0/5] remoteproc: updates for new events

From: Alex Elder
Date: Mon Jun 25 2018 - 21:34:18 EST


(This is just a rebase of https://lkml.org/lkml/2018/5/15/919)

This series changes the prototype for rproc_add_subdev(). The
caller is now responsible for populating the function pointers
recorded in the rproc_subdev structure, rather than having them be
passed as arguments. These two existing function pointers have been
renamed ("probe" is now "start" and "remove" is now "stop"), and
they are now optional. Callback functions may now also be assigned
for two new events (prior to start and after stop).

-Alex

Alex Elder (1):
remoteproc: rename subdev probe and remove functions

Bjorn Andersson (4):
remoteproc: Rename subdev functions to start/stop
remoteproc: Make start and stop in subdev optional
remoteproc: Make client initialize ops in rproc_subdev
remoteproc: Introduce prepare and unprepare for subdevices

drivers/remoteproc/qcom_common.c | 26 ++++---
drivers/remoteproc/qcom_sysmon.c | 5 +-
drivers/remoteproc/remoteproc_core.c | 110 ++++++++++++++++++++-------
include/linux/remoteproc.h | 19 ++---
4 files changed, 109 insertions(+), 51 deletions(-)

--
2.17.1