提交 91afa076 编写于 作者: H Hans de Goede 提交者: Rafael J. Wysocki

ACPI / battery: Remove initializer for unused ident dmi_system_id

The battery code does not use the dmi_system_id ident member, so there is
no need to initialize it. This saves us storing the unused strings as
as const data.
Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 6605e342
...@@ -1334,16 +1334,16 @@ battery_notification_delay_quirk(const struct dmi_system_id *d) ...@@ -1334,16 +1334,16 @@ battery_notification_delay_quirk(const struct dmi_system_id *d)
static const struct dmi_system_id bat_dmi_table[] __initconst = { static const struct dmi_system_id bat_dmi_table[] __initconst = {
{ {
/* NEC LZ750/LS */
.callback = battery_bix_broken_package_quirk, .callback = battery_bix_broken_package_quirk,
.ident = "NEC LZ750/LS",
.matches = { .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "NEC"), DMI_MATCH(DMI_SYS_VENDOR, "NEC"),
DMI_MATCH(DMI_PRODUCT_NAME, "PC-LZ750LS"), DMI_MATCH(DMI_PRODUCT_NAME, "PC-LZ750LS"),
}, },
}, },
{ {
/* Acer Aspire V5-573G */
.callback = battery_notification_delay_quirk, .callback = battery_notification_delay_quirk,
.ident = "Acer Aspire V5-573G",
.matches = { .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Acer"), DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
DMI_MATCH(DMI_PRODUCT_NAME, "Aspire V5-573G"), DMI_MATCH(DMI_PRODUCT_NAME, "Aspire V5-573G"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册