diff options
author | Benson Leung <bleung@chromium.org> | 2013-02-01 17:34:43 -0500 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-02-27 08:30:38 -0500 |
commit | 6e71094d98b54c2db09ef6af33b67bdece9d4ebe (patch) | |
tree | a11af49b1ed8b8d4cf1b954a80c55933d979d708 /drivers/platform | |
parent | 2740e1bd528771dea9003a1c85f7f8d051c2808d (diff) |
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: Benson Leung <bleung@chromium.org>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/chromeos_laptop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/platform/x86/chromeos_laptop.c index a8329c3a9d0d..6440d2250ba9 100644 --- a/drivers/platform/x86/chromeos_laptop.c +++ b/drivers/platform/x86/chromeos_laptop.c | |||
@@ -145,7 +145,7 @@ static struct i2c_client __init *add_smbus_device(const char *name, | |||
145 | addr_list); | 145 | addr_list); |
146 | } | 146 | } |
147 | 147 | ||
148 | static int __init setup_lumpy_tp(const struct dmi_system_id *id) | 148 | static int __init setup_cyapa_smbus_tp(const struct dmi_system_id *id) |
149 | { | 149 | { |
150 | /* add cyapa touchpad on smbus */ | 150 | /* add cyapa touchpad on smbus */ |
151 | tp = add_smbus_device("trackpad", &cyapa_device); | 151 | tp = add_smbus_device("trackpad", &cyapa_device); |
@@ -166,7 +166,7 @@ static struct dmi_system_id __initdata chromeos_laptop_dmi_table[] = { | |||
166 | DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG"), | 166 | DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG"), |
167 | DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"), | 167 | DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"), |
168 | }, | 168 | }, |
169 | .callback = setup_lumpy_tp, | 169 | .callback = setup_cyapa_smbus_tp, |
170 | }, | 170 | }, |
171 | { | 171 | { |
172 | .ident = "Samsung Series 5 550 - Light Sensor", | 172 | .ident = "Samsung Series 5 550 - Light Sensor", |