Skip to content

Commit

Permalink
Platform: x86: chromeos_laptop - Rename setup_lumpy_tp to setup_cyapa…
Browse files Browse the repository at this point in the history
…_smbus_tp

The Cypress trackpad on smbus is used on other systems
as well. Lets make the name more generic.

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
  • Loading branch information
Benson Leung authored and Matthew Garrett committed Feb 27, 2013
1 parent 2740e1b commit 6e71094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/platform/x86/chromeos_laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static struct i2c_client __init *add_smbus_device(const char *name,
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 */
tp = add_smbus_device("trackpad", &cyapa_device);
Expand All @@ -166,7 +166,7 @@ static struct dmi_system_id __initdata chromeos_laptop_dmi_table[] = {
DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG"),
DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"),
},
.callback = setup_lumpy_tp,
.callback = setup_cyapa_smbus_tp,
},
{
.ident = "Samsung Series 5 550 - Light Sensor",
Expand Down

0 comments on commit 6e71094

Please sign in to comment.