diff options
| author | 2026-07-27 11:03:09 +0800 | |
|---|---|---|
| committer | 2026-08-03 20:32:34 +0200 | |
| commit | c4ff554a725c9a6241af07b83158afe4ff43af41 (patch) | |
| tree | 32f9e54944124adb950e2270d6e1230a099f6282 /tools/lib/python/kdoc/python_version.py | |
| parent | Merge tag 'hid-for-linus-2026070801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (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/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
