Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nvmem: qfprom: Improve the comment about regulator setting

In review feedback Joe Perches found the existing comment
confusing. Let's use something based on the wording proposed by Joe.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210611083348.20170-10-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Douglas Anderson and committed by
Greg Kroah-Hartman
989f77e3 1f7b4d87

+3 -3
+3 -3
drivers/nvmem/qfprom.c
··· 196 196 } 197 197 198 198 /* 199 - * Hardware requires a min voltage for fuse blowing; this may be 200 - * a rail shared do don't specify a max--regulator constraints 201 - * will handle. 199 + * Hardware requires a minimum voltage for fuse blowing. 200 + * This may be a shared rail so don't specify a maximum. 201 + * Regulator constraints will cap to the actual maximum. 202 202 */ 203 203 ret = regulator_set_voltage(priv->vcc, qfprom_blow_uV, INT_MAX); 204 204 if (ret) {