]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: silead_dmi: Rename trekstor entries
authorHans de Goede <hdegoede@redhat.com>
Fri, 8 Jun 2018 21:45:55 +0000 (23:45 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Jul 2018 12:00:29 +0000 (15:00 +0300)
Prefix the entries for trekstor tablets with trekstor_ and drop the
detailed model version (still available as comment in the dmi table)
to keep things within 80 chars.

This is a preparation patch for sorting all the entries alphabetically.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/silead_dmi.c

index 853a7ce4601cd1f0d508197b27e79455e936e2f1..1f0246e69967f6f0d31bbad2d406d6a35262a6c3 100644 (file)
@@ -81,7 +81,7 @@ static const struct silead_ts_dmi_data dexp_ursus_7w_data = {
        .properties     = dexp_ursus_7w_props,
 };
 
-static const struct property_entry surftab_twin_10_1_st10432_8_props[] = {
+static const struct property_entry trekstor_surftab_twin_10_1_props[] = {
        PROPERTY_ENTRY_U32("touchscreen-size-x", 1900),
        PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
        PROPERTY_ENTRY_U32("touchscreen-inverted-y", 1),
@@ -91,12 +91,12 @@ static const struct property_entry surftab_twin_10_1_st10432_8_props[] = {
        { }
 };
 
-static const struct silead_ts_dmi_data surftab_twin_10_1_st10432_8_data = {
+static const struct silead_ts_dmi_data trekstor_surftab_twin_10_1_data = {
        .acpi_name      = "MSSL1680:00",
-       .properties     = surftab_twin_10_1_st10432_8_props,
+       .properties     = trekstor_surftab_twin_10_1_props,
 };
 
-static const struct property_entry surftab_wintron70_st70416_6_props[] = {
+static const struct property_entry trekstor_surftab_wintron70_props[] = {
        PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
        PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
        PROPERTY_ENTRY_STRING("firmware-name",
@@ -106,9 +106,9 @@ static const struct property_entry surftab_wintron70_st70416_6_props[] = {
        { }
 };
 
-static const struct silead_ts_dmi_data surftab_wintron70_st70416_6_data = {
+static const struct silead_ts_dmi_data trekstor_surftab_wintron70_data = {
        .acpi_name      = "MSSL1680:00",
-       .properties     = surftab_wintron70_st70416_6_props,
+       .properties     = trekstor_surftab_wintron70_props,
 };
 
 static const struct property_entry gp_electronic_t701_props[] = {
@@ -366,7 +366,7 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
        },
        {
                /* TrekStor SurfTab twin 10.1 ST10432-8 */
-               .driver_data = (void *)&surftab_twin_10_1_st10432_8_data,
+               .driver_data = (void *)&trekstor_surftab_twin_10_1_data,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "TrekStor"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "SurfTab twin 10.1"),
@@ -374,7 +374,7 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
        },
        {
                /* Trekstor Surftab Wintron 7.0 ST70416-6 */
-               .driver_data = (void *)&surftab_wintron70_st70416_6_data,
+               .driver_data = (void *)&trekstor_surftab_wintron70_data,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "ST70416-6"),
@@ -384,7 +384,7 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
        },
        {
                /* Trekstor Surftab Wintron 7.0 ST70416-6, newer BIOS */
-               .driver_data = (void *)&surftab_wintron70_st70416_6_data,
+               .driver_data = (void *)&trekstor_surftab_wintron70_data,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "TrekStor"),
                        DMI_MATCH(DMI_PRODUCT_NAME,
@@ -395,7 +395,7 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
        },
        {
                /* Ployer Momo7w (same hardware as the Trekstor ST70416-6) */
-               .driver_data = (void *)&surftab_wintron70_st70416_6_data,
+               .driver_data = (void *)&trekstor_surftab_wintron70_data,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Shenzhen PLOYER"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "MOMO7W"),
@@ -528,7 +528,7 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
        },
        {
                /* I.T.Works TW701 */
-               .driver_data = (void *)&surftab_wintron70_st70416_6_data,
+               .driver_data = (void *)&trekstor_surftab_wintron70_data,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "i71c"),