]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: int3472: Rename daisy-chain GPIO props to generic
authorArun T <arun.t@intel.com>
Fri, 15 May 2026 17:45:10 +0000 (23:15 +0530)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 19 May 2026 20:55:58 +0000 (23:55 +0300)
Rename the MSI-specific daisy-chain GPIO properties and software node
to generic names so they can be reused by other platforms that also
require daisy-chain GPIO configuration for TPS68470.

Signed-off-by: Arun T <arun.t@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/platform/x86/intel/int3472/tps68470_board_data.c

index 28c9e12c85bf45f29d2995c005e59b9b4bb0ab6e..4358dc601923aa29d7bce2f41db1b6f63ee8e933 100644 (file)
@@ -323,13 +323,13 @@ static struct gpiod_lookup_table msi_prestige_ai_evo_ovti5675_gpios = {
        }
 };
 
-static const struct property_entry msi_prestige_ai_evo_gpio_props[] = {
+static const struct property_entry int3472_tps68470_daisy_chain_gpio_props[] = {
        PROPERTY_ENTRY_BOOL("daisy-chain-enable"),
        { }
 };
 
-static const struct software_node msi_prestige_ai_evo_tps68470_gpio_swnode = {
-       .properties = msi_prestige_ai_evo_gpio_props,
+static const struct software_node int3472_tps68470_daisy_chain_gpio_swnode = {
+       .properties = int3472_tps68470_daisy_chain_gpio_props,
 };
 
 static const struct int3472_tps68470_board_data surface_go_tps68470_board_data = {
@@ -364,7 +364,7 @@ static const struct int3472_tps68470_board_data dell_7212_tps68470_board_data =
 static const struct int3472_tps68470_board_data msi_prestige_ai_evo_tps68470_board_data = {
        .dev_name = "i2c-INT3472:06",
        .tps68470_regulator_pdata = &msi_prestige_ai_evo_tps68470_pdata,
-       .tps68470_gpio_swnode = &msi_prestige_ai_evo_tps68470_gpio_swnode,
+       .tps68470_gpio_swnode = &int3472_tps68470_daisy_chain_gpio_swnode,
        .n_gpiod_lookups = 1,
        .tps68470_gpio_lookup_tables = {
                &msi_prestige_ai_evo_ovti5675_gpios,