]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: stpmic1_regulator: Properly document 'struct stpmic1_regulator_cfg'
authorLee Jones <lee.jones@linaro.org>
Fri, 26 Jun 2020 06:57:33 +0000 (07:57 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jun 2020 14:34:20 +0000 (15:34 +0100)
commit4804bc511185408bea3bddc830f585afd30b39ac
treebb3dcd4da6eac5121be044718524273b6adea54d
parent9edd1ff3b23beb458c745455f589b4448416fe54
regulator: stpmic1_regulator: Properly document 'struct stpmic1_regulator_cfg'

In kerneldoc format, data structures have to start with 'struct'
else the kerneldoc tooling/parsers/validators get confused.

Fixes the following W=1 kernel build warning:

 drivers/regulator/stpmic1_regulator.c:25: warning: cannot understand function prototype: 'struct stpmic1_regulator_cfg '

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Cc: Pascal Paillet <p.paillet@st.com>
Link: https://lore.kernel.org/r/20200626065738.93412-5-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/stpmic1_regulator.c