summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-06-06 09:16:40 -0700
committerGuenter Roeck <linux@roeck-us.net>2024-06-11 07:25:13 -0700
commitcbbb76e4b8bf2c938f75baf11272ca3536be9366 (patch)
treecd2ffd9da55a153f577cedeec717653bbb7c2fd3 /tools/perf/scripts/python/export-to-sqlite.py
parent22558934447999f38bb521a57279aa7ecf3f2d74 (diff)
hwmon: (pmbus/lm25066) Let enum chips start with index 0
Commit ac0c26bae662 ("hwmon: (lm25066) Use i2c_get_match_data()") changed enum chips to start with 1 instead of 0, under the assumption that the data pointer in of_device_id must not start with 0 (NULL) if i2c_get_match_data() is used. However, that is perfectly fine as long as there is also an i2c_device_id array with the same data which is used as fallback in that case. Let enum chips start with 0 to avoid confusion against other drivers where the enum starts with 0 and i2c_get_match_data() is used as well. Cc: Rob Herring <robh@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions