Commit 6e71094d authored by Benson Leung's avatar Benson Leung Committed by Matthew Garrett

Platform: x86: chromeos_laptop - Rename setup_lumpy_tp to setup_cyapa_smbus_tp

The Cypress trackpad on smbus is used on other systems
as well. Lets make the name more generic.
Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 2740e1bd
...@@ -145,7 +145,7 @@ static struct i2c_client __init *add_smbus_device(const char *name, ...@@ -145,7 +145,7 @@ static struct i2c_client __init *add_smbus_device(const char *name,
addr_list); addr_list);
} }
static int __init setup_lumpy_tp(const struct dmi_system_id *id) static int __init setup_cyapa_smbus_tp(const struct dmi_system_id *id)
{ {
/* add cyapa touchpad on smbus */ /* add cyapa touchpad on smbus */
tp = add_smbus_device("trackpad", &cyapa_device); tp = add_smbus_device("trackpad", &cyapa_device);
...@@ -166,7 +166,7 @@ static struct dmi_system_id __initdata chromeos_laptop_dmi_table[] = { ...@@ -166,7 +166,7 @@ static struct dmi_system_id __initdata chromeos_laptop_dmi_table[] = {
DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG"), DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG"),
DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"), DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"),
}, },
.callback = setup_lumpy_tp, .callback = setup_cyapa_smbus_tp,
}, },
{ {
.ident = "Samsung Series 5 550 - Light Sensor", .ident = "Samsung Series 5 550 - Light Sensor",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment