diff options
author | Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> | 2025-04-09 10:45:29 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-04-23 07:18:27 -0700 |
commit | 9b116ba6c9eb9d3b33de0363fafdc5941116f029 (patch) | |
tree | ecbba67e1b9eabe2a2f6c91b62863829656b4df0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0bf08f9e358d33a8972cdb3d698079f5d768d7ed (diff) |
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 <florin.buica@nxp.com>
Tested-by: Enric Balletbo i Serra <eballetbo@kernel.org>
Signed-off-by: Florin Buica <florin.buica@nxp.com>
Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
Link: https://lore.kernel.org/r/20250409074529.2233733-1-ciprianmarian.costea@oss.nxp.com
[groeck: Use standard multi-line comment]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions