]> Git Repo - linux.git/commit
i2c: designware: Consolidate firmware parsing and configuring code
authorAndy Shevchenko <[email protected]>
Thu, 22 Aug 2024 17:58:38 +0000 (20:58 +0300)
committerAndi Shyti <[email protected]>
Mon, 9 Sep 2024 22:36:33 +0000 (00:36 +0200)
commitebe508e42226bd1503fcef076d6d76e81b9dd5f8
treed4c9fa07dc37eb9148010299e3cf0dddf67cc8e9
parent628c248167b548a8774ca0302d70e60caf2ff97e
i2c: designware: Consolidate firmware parsing and configuring code

We have the same code flows in the PCI and platform drivers. Moreover,
the flow requires the common code to export a few functions. Instead,
consolidate that flow under new function called
i2c_dw_fw_parse_and_configure() and drop unneeded exports.

Reviewed-by: Andi Shyti <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
drivers/i2c/busses/i2c-designware-common.c
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-pcidrv.c
drivers/i2c/busses/i2c-designware-platdrv.c
This page took 0.055179 seconds and 4 git commands to generate.