Skip to contentSkip to conversation

ARM: samsung: Fix kerneldoc of s3c_pm_do_restore_core()

PATCH New Krzysztof Kozlowski 1 participant 1 message Jul 29, 2020

Subsystems (3)
lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH 1/1 ARM: samsung: Fix kerneldoc of s3c_pm_do_restore_core()

Fix W=1 compile warnings (invalid kerneldoc):

arch/arm/plat-samsung/pm-common.c:68: warning: Function parameter or member 'ptr' not described in 's3c_pm_do_restore_core' arch/arm/plat-samsung/pm-common.c:68: warning: Function parameter or member 'count' not described in 's3c_pm_do_restore_core'

---
 arch/arm/plat-samsung/pm-common.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/plat-samsung/pm-common.c +2 -0
index 59a10c6dcba1..2da0d352441f 100644
@@ -55,6 +55,8 @@ void s3c_pm_do_restore(const struct sleep_save *ptr, int count)
 
 /**
  * s3c_pm_do_restore_core() - early restore register values from save list.
+ * @ptr: Pointer to an array of registers.
+ * @count: Size of the ptr array.
  *
  * This is similar to s3c_pm_do_restore() except we try and minimise the
  * side effects of the function in case registers that hardware might need
Signature · 1 line
2.17.1