soc: qcom: qcom-geni-se: Fix misnamed function parameter 'rx_rfr'

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

 drivers/soc/qcom/qcom-geni-se.c:85: warning: Cannot understand  * @struct geni_wrapper - Data structure to represent the QUP Wrapper Core
 drivers/soc/qcom/qcom-geni-se.c:246: warning: Function parameter or member 'rx_rfr' not described in 'geni_se_init'
 drivers/soc/qcom/qcom-geni-se.c:246: warning: Excess function parameter 'rx_rfr_wm' description in 'geni_se_init'

Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201103152838.1290217-13-lee.jones@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Lee Jones 2020-11-03 15:28:25 +00:00 committed by Bjorn Andersson
parent 96ec310d5d
commit 08ad7061e4

View file

@ -82,10 +82,11 @@
#define NUM_AHB_CLKS 2 #define NUM_AHB_CLKS 2
/** /**
* @struct geni_wrapper - Data structure to represent the QUP Wrapper Core * struct geni_wrapper - Data structure to represent the QUP Wrapper Core
* @dev: Device pointer of the QUP wrapper core * @dev: Device pointer of the QUP wrapper core
* @base: Base address of this instance of QUP wrapper core * @base: Base address of this instance of QUP wrapper core
* @ahb_clks: Handle to the primary & secondary AHB clocks * @ahb_clks: Handle to the primary & secondary AHB clocks
* @to_core: Core ICC path
*/ */
struct geni_wrapper { struct geni_wrapper {
struct device *dev; struct device *dev;
@ -237,7 +238,7 @@ static void geni_se_irq_clear(struct geni_se *se)
* geni_se_init() - Initialize the GENI serial engine * geni_se_init() - Initialize the GENI serial engine
* @se: Pointer to the concerned serial engine. * @se: Pointer to the concerned serial engine.
* @rx_wm: Receive watermark, in units of FIFO words. * @rx_wm: Receive watermark, in units of FIFO words.
* @rx_rfr_wm: Ready-for-receive watermark, in units of FIFO words. * @rx_rfr: Ready-for-receive watermark, in units of FIFO words.
* *
* This function is used to initialize the GENI serial engine, configure * This function is used to initialize the GENI serial engine, configure
* receive watermark and ready-for-receive watermarks. * receive watermark and ready-for-receive watermarks.