Skip to content

Commit cff6f59

Browse files
M-Vaittinenbroonie
authored andcommitted
regulator: rohm-generic: iniline stub function
The function rohm_regulator_set_voltage_sel_restricted() has a stub implementation. Linux-next testing spot following: include/linux/mfd/rohm-generic.h:93:12: error: 'rohm_regulator_set_voltage_sel_restricted' defined but not used Fix this by inlining the stub. Fixes: 8b6e885 ("regulator: rohm-regulator: add helper for restricted voltage setting") Signed-off-by: Matti Vaittinen <[email protected]> Link: https://lore.kernel.org/r/YZzEP3S7U15bTDAI@fedora Signed-off-by: Mark Brown <[email protected]>
1 parent 92b1348 commit cff6f59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/mfd/rohm-generic.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ static inline int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dv
9090
{
9191
return 0;
9292
}
93-
static int rohm_regulator_set_voltage_sel_restricted(struct regulator_dev *rdev,
93+
94+
static inline int rohm_regulator_set_voltage_sel_restricted(struct regulator_dev *rdev,
9495
unsigned int sel)
9596
{
9697
return 0;

0 commit comments

Comments
 (0)