Commit 306c59cb authored by Lee Jones's avatar Lee Jones Committed by Ulf Hansson

mmc: dw_mmc-exynos: Add kerneldoc descriptions of for 'dev' args

Provide missing documentation for dw_mci_exynos_suspend_noirq() and
dw_mci_exynos_resume_noirq() function headers.

Fixes the following W=1 kernel build warnings:

 drivers/mmc/host/dw_mmc-exynos.c:184: warning: Function parameter or member 'dev' not described in 'dw_mci_exynos_suspend_noirq'
 drivers/mmc/host/dw_mmc-exynos.c:200: warning: Function parameter or member 'dev' not described in 'dw_mci_exynos_resume_noirq'

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Thomas Abraham <thomas.ab@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Link: https://lore.kernel.org/r/20200701124702.908713-9-lee.jones@linaro.orgSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 22374e9f
...@@ -176,6 +176,7 @@ static int dw_mci_exynos_runtime_resume(struct device *dev) ...@@ -176,6 +176,7 @@ static int dw_mci_exynos_runtime_resume(struct device *dev)
#ifdef CONFIG_PM_SLEEP #ifdef CONFIG_PM_SLEEP
/** /**
* dw_mci_exynos_suspend_noirq - Exynos-specific suspend code * dw_mci_exynos_suspend_noirq - Exynos-specific suspend code
* @dev: Device to suspend (this device)
* *
* This ensures that device will be in runtime active state in * This ensures that device will be in runtime active state in
* dw_mci_exynos_resume_noirq after calling pm_runtime_force_resume() * dw_mci_exynos_resume_noirq after calling pm_runtime_force_resume()
...@@ -188,6 +189,7 @@ static int dw_mci_exynos_suspend_noirq(struct device *dev) ...@@ -188,6 +189,7 @@ static int dw_mci_exynos_suspend_noirq(struct device *dev)
/** /**
* dw_mci_exynos_resume_noirq - Exynos-specific resume code * dw_mci_exynos_resume_noirq - Exynos-specific resume code
* @dev: Device to resume (this device)
* *
* On exynos5420 there is a silicon errata that will sometimes leave the * On exynos5420 there is a silicon errata that will sometimes leave the
* WAKEUP_INT bit in the CLKSEL register asserted. This bit is 1 to indicate * WAKEUP_INT bit in the CLKSEL register asserted. This bit is 1 to indicate
......
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