Commit 4d05446a authored by Lee Jones's avatar Lee Jones Committed by Krzysztof Kozlowski

soc: samsung: s3c-pm-check: Fix incorrectly named variable 'val'

Fixes the following W=1 kernel build warning(s):

 drivers/soc/samsung/s3c-pm-check.c:162: warning: Function parameter or member 'val' not described in 's3c_pm_runcheck'
 drivers/soc/samsung/s3c-pm-check.c:162: warning: Excess function parameter 'vak' description in 's3c_pm_runcheck'
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Cc: Ben Dooks <ben@simtec.co.uk>
Link: https://lore.kernel.org/r/20201103152838.1290217-15-lee.jones@linaro.orgSigned-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 74b01dc3
...@@ -151,7 +151,7 @@ static inline int in_region(void *ptr, int size, void *what, size_t whatsz) ...@@ -151,7 +151,7 @@ static inline int in_region(void *ptr, int size, void *what, size_t whatsz)
/** /**
* s3c_pm_runcheck() - helper to check a resource on restore. * s3c_pm_runcheck() - helper to check a resource on restore.
* @res: The resource to check * @res: The resource to check
* @vak: Pointer to list of CRC32 values to check. * @val: Pointer to list of CRC32 values to check.
* *
* Called from the s3c_pm_check_restore() via s3c_pm_run_sysram(), this * Called from the s3c_pm_check_restore() via s3c_pm_run_sysram(), this
* function runs the given memory resource checking it against the stored * function runs the given memory resource checking it against the stored
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment