Commit 11b490c6 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Matthias Brugger

soc: mediatek: mtk-infracfg: Fix kerneldoc

Fix W=1 compile warnings (invalid kerneldoc):

    drivers/soc/mediatek/mtk-infracfg.c:34: warning: Function parameter or member 'infracfg' not described in 'mtk_infracfg_set_bus_protection'
    drivers/soc/mediatek/mtk-infracfg.c:34: warning: Excess function parameter 'regmap' description in 'mtk_infracfg_set_bus_protection'
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200729074415.28393-1-krzk@kernel.orgSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 9123e3a7
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
/** /**
* mtk_infracfg_set_bus_protection - enable bus protection * mtk_infracfg_set_bus_protection - enable bus protection
* @regmap: The infracfg regmap * @infracfg: The infracfg regmap
* @mask: The mask containing the protection bits to be enabled. * @mask: The mask containing the protection bits to be enabled.
* @reg_update: The boolean flag determines to set the protection bits * @reg_update: The boolean flag determines to set the protection bits
* by regmap_update_bits with enable register(PROTECTEN) or * by regmap_update_bits with enable register(PROTECTEN) or
...@@ -50,7 +50,7 @@ int mtk_infracfg_set_bus_protection(struct regmap *infracfg, u32 mask, ...@@ -50,7 +50,7 @@ int mtk_infracfg_set_bus_protection(struct regmap *infracfg, u32 mask,
/** /**
* mtk_infracfg_clear_bus_protection - disable bus protection * mtk_infracfg_clear_bus_protection - disable bus protection
* @regmap: The infracfg regmap * @infracfg: The infracfg regmap
* @mask: The mask containing the protection bits to be disabled. * @mask: The mask containing the protection bits to be disabled.
* @reg_update: The boolean flag determines to clear the protection bits * @reg_update: The boolean flag determines to clear the protection bits
* by regmap_update_bits with enable register(PROTECTEN) or * by regmap_update_bits with enable register(PROTECTEN) or
......
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