diff options
| author | Ciprian Marian Costea <[email protected]> | 2025-04-09 07:45:29 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2025-04-23 14:18:27 +0000 |
| commit | 9b116ba6c9eb9d3b33de0363fafdc5941116f029 (patch) | |
| tree | ecbba67e1b9eabe2a2f6c91b62863829656b4df0 /drivers/hwmon/pwm-fan.c | |
| parent | hwmon: (asus-ec-sensors) sort sensor definition arrays (diff) | |
| download | kernel-9b116ba6c9eb9d3b33de0363fafdc5941116f029.tar.gz kernel-9b116ba6c9eb9d3b33de0363fafdc5941116f029.zip | |
hwmon: (ina2xx) make regulator 'vs' support optional
According to the 'ti,ina2xx' binding, the 'vs-supply' property is
optional. Use devm_regulator_get_enable_optional() to avoid a kernel
warning message if the property is not provided.
Co-developed-by: Florin Buica <[email protected]>
Tested-by: Enric Balletbo i Serra <[email protected]>
Signed-off-by: Florin Buica <[email protected]>
Signed-off-by: Ciprian Marian Costea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Use standard multi-line comment]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
