summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorEven Xu <even.xu@intel.com>2026-07-27 11:03:09 +0800
committerJiri Kosina <jkosina@suse.com>2026-08-03 20:32:34 +0200
commitc4ff554a725c9a6241af07b83158afe4ff43af41 (patch)
tree32f9e54944124adb950e2270d6e1230a099f6282 /tools/perf/scripts/python/bin
parent6bad2e38fe7f2da7dc982b2b80814e632832e568 (diff)
HID: Intel-thc-hid: Intel-thc: Refactor I2C bus configuration with unified config structure
Introduce a new struct thc_i2c_config to consolidate all configurable I2C bus parameters into a single structure for better maintainability and extensibility. Changes include: - Add struct thc_i2c_config to encapsulate I2C bus parameters - Rename thc_i2c_subip_set_speed() to thc_i2c_subip_bus_config() to better reflect its expanded functionality - Update thc_i2c_subip_bus_config() to accept struct thc_i2c_config parameter for comprehensive I2C parameter configuration - Modify thc_i2c_subip_init() to use struct thc_i2c_config and call thc_i2c_subip_bus_config() for complete bus initialization This refactoring improves code organization and unifies I2C configuration parameters. Signed-off-by: Even Xu <even.xu@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions