diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2012-07-02 13:20:53 -0400 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2012-07-05 17:53:27 -0400 |
commit | 40e575b1d0b34b38519d361c10bdf8e0c688957b (patch) | |
tree | 88e82959201de6a1bbe3570d2a0d924ca33882dc /include/linux/remoteproc.h | |
parent | 0e49b72c8c91f9ea65ae62ca3061f885aa06a6f6 (diff) |
remoteproc: remove the get_by_name/put API
Remove rproc_get_by_name() and rproc_put(), and the associated
remoteproc infrastructure that supports it (i.e. klist and friends),
because:
1. No one uses them
2. Using them is highly discouraged, and any potential user
will be deeply scrutinized and encouraged to move.
If a user, that absolutely can't live with the direct boot/shutdown
model, does show up one day, then bringing this functionality back
is going to be trivial.
At this point though, keeping this functionality around is way too
much of a maintenance burden.
Cc: Sjur Brændeland <sjur.brandeland@stericsson.com>
Cc: Loic Pallardy <loic.pallardy@stericsson.com>
Cc: Ludovic BARRE <ludovic.barre@stericsson.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Fernando Guzman Lugo <fernando.lugo@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Cc: Mark Grosen <mgrosen@ti.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'include/linux/remoteproc.h')
-rw-r--r-- | include/linux/remoteproc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index cbe8a51a21de..b88d6af5ba52 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h | |||
@@ -449,9 +449,6 @@ struct rproc_vdev { | |||
449 | unsigned long gfeatures; | 449 | unsigned long gfeatures; |
450 | }; | 450 | }; |
451 | 451 | ||
452 | struct rproc *rproc_get_by_name(const char *name); | ||
453 | void rproc_put(struct rproc *rproc); | ||
454 | |||
455 | struct rproc *rproc_alloc(struct device *dev, const char *name, | 452 | struct rproc *rproc_alloc(struct device *dev, const char *name, |
456 | const struct rproc_ops *ops, | 453 | const struct rproc_ops *ops, |
457 | const char *firmware, int len); | 454 | const char *firmware, int len); |