History

regulator: driver.h: fix regulator_map_* function names

The toolchain produces a warning on this driver when building the docs: ./include/linux/regulator/driver.h:284: WARNING: Unknown target name: "regulator_regmap_x_voltage". While fixing it, we notices that there's no function names with the above pattern. It seems that some previous patch renamed it to regulator_map_* instead. So, change the function name, replacing "x" by "*", with is a more used way to add a wildcard, and escape those with ``literal`` markup, in order to avoid the toolchain to think that this is a link to some existing document chapter.

Mauro Carvalho Chehab committed 6 years ago

Commit bd3ebed1 parent b11dec11 file · +2 −2Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/regulator/driver.h+2−2
@@ -277,9 +277,9 @@ enum regulator_type { · 276 unmodified lines
277277 * @curr_table: Current limit mapping table (if table based mapping)
278278 *
279279 * @vsel_range_reg: Register for range selector when using pickable ranges
280− * and regulator_regmap_X_voltage_X_pickable functions.
280+ * and ``regulator_map_*_voltage_*_pickable`` functions.
281281 * @vsel_range_mask: Mask for register bitfield used for range selector
282− * @vsel_reg: Register for selector when using regulator_regmap_X_voltage_
282+ * @vsel_reg: Register for selector when using ``regulator_map_*_voltage_*``
283283 * @vsel_mask: Mask for register bitfield used for selector
284284 * @vsel_step: Specify the resolution of selector stepping when setting
285285 * voltage. If 0, then no stepping is done (requested selector is