mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
remoteproc: sysmon: Update qcom_add_sysmon_subdev() comment
The comment says the qcom_add_sysmon_subdev() returns NULL on error but it actually returns error pointers. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/77a6b65b-5f3f-4a21-a837-7a4a7e09b099@stanley.mountain Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
4b4ab93ddc
commit
61e13f95d8
@ -619,7 +619,7 @@ static irqreturn_t sysmon_shutdown_interrupt(int irq, void *data)
|
|||||||
* @name: name of this subdev, to use in SSR
|
* @name: name of this subdev, to use in SSR
|
||||||
* @ssctl_instance: instance id of the ssctl QMI service
|
* @ssctl_instance: instance id of the ssctl QMI service
|
||||||
*
|
*
|
||||||
* Return: A new qcom_sysmon object, or NULL on failure
|
* Return: A new qcom_sysmon object, or an error pointer on failure
|
||||||
*/
|
*/
|
||||||
struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc,
|
struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc,
|
||||||
const char *name,
|
const char *name,
|
||||||
|
Loading…
Reference in New Issue
Block a user