From: Dan Carpenter Date: Fri, 21 Mar 2025 14:35:44 +0000 (+0300) Subject: remoteproc: sysmon: Update qcom_add_sysmon_subdev() comment X-Git-Tag: v6.15-rc1~104^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61e13f95d8314f205ebf792f8f2fd2fcb8733e01;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/77a6b65b-5f3f-4a21-a837-7a4a7e09b099@stanley.mountain Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_sysmon.c b/drivers/remoteproc/qcom_sysmon.c index c24e4a8828738..660ac6fc40821 100644 --- a/drivers/remoteproc/qcom_sysmon.c +++ b/drivers/remoteproc/qcom_sysmon.c @@ -619,7 +619,7 @@ static irqreturn_t sysmon_shutdown_interrupt(int irq, void *data) * @name: name of this subdev, to use in SSR * @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, const char *name,