Skip to content

Commit 2eb2730

Browse files
AngeloGioacchino Del Regnombgg
authored andcommitted
soc: mediatek: pwrap: Add kerneldoc for struct pwrap_slv_type
In preparation for adding new members with name abbreviations describe the struct pwrap_slv_type with kerneldoc to enhance human readability. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com> Link: https://lore.kernel.org/r/20230412131216.198313-4-angelogioacchino.delregno@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent db9f132 commit 2eb2730

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

drivers/soc/mediatek/mtk-pmic-wrap.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,11 +1218,17 @@ struct pwrap_slv_regops {
12181218
int (*pwrap_write)(struct pmic_wrapper *wrp, u32 adr, u32 wdata);
12191219
};
12201220

1221+
/**
1222+
* struct pwrap_slv_type - PMIC device wrapper definitions
1223+
* @dew_regs: Device Wrapper (DeW) register offsets
1224+
* @type: PMIC Type (model)
1225+
* @regops: Register R/W ops
1226+
* @caps: Capability flags for the target device
1227+
*/
12211228
struct pwrap_slv_type {
12221229
const u32 *dew_regs;
12231230
enum pmic_type type;
12241231
const struct pwrap_slv_regops *regops;
1225-
/* Flags indicating the capability for the target slave */
12261232
u32 caps;
12271233
};
12281234

0 commit comments

Comments
 (0)