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

From: Alex Elder
Date: Tue May 15 2018 - 16:54:01 EST


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.0