Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dan Carpenter and committed by
Bjorn Andersson
61e13f95 4b4ab93d

+1 -1
+1 -1
drivers/remoteproc/qcom_sysmon.c
··· 619 619 * @name: name of this subdev, to use in SSR 620 620 * @ssctl_instance: instance id of the ssctl QMI service 621 621 * 622 - * Return: A new qcom_sysmon object, or NULL on failure 622 + * Return: A new qcom_sysmon object, or an error pointer on failure 623 623 */ 624 624 struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc, 625 625 const char *name,