Skip to content

Commit 61e13f9

Browse files
Dan Carpenterandersson
authored andcommitted
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 <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 4b4ab93 commit 61e13f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/remoteproc/qcom_sysmon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ static irqreturn_t sysmon_shutdown_interrupt(int irq, void *data)
619619
* @name: name of this subdev, to use in SSR
620620
* @ssctl_instance: instance id of the ssctl QMI service
621621
*
622-
* Return: A new qcom_sysmon object, or NULL on failure
622+
* Return: A new qcom_sysmon object, or an error pointer on failure
623623
*/
624624
struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc,
625625
const char *name,

0 commit comments

Comments
 (0)