projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c8780
)
iio: accel: mxc4005: add support for mxc6655
author
Christian Oder
<me@myself5.de>
Fri, 29 May 2020 20:05:49 +0000
(22:05 +0200)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Sun, 14 Jun 2020 10:49:39 +0000
(11:49 +0100)
The mxc6655 is fully working with the existing mxc4005 driver.
Add support for it.
Signed-off-by: Christian Oder <me@myself5.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/mxc4005.c
patch
|
blob
|
history
diff --git
a/drivers/iio/accel/mxc4005.c
b/drivers/iio/accel/mxc4005.c
index 9d07642c0de106df7941d33cfcf55ceb72f037b0..d2950831dd248bf7b41b23bf5fa11fe8c30365da 100644
(file)
--- a/
drivers/iio/accel/mxc4005.c
+++ b/
drivers/iio/accel/mxc4005.c
@@
-474,12
+474,14
@@
static int mxc4005_probe(struct i2c_client *client,
static const struct acpi_device_id mxc4005_acpi_match[] = {
{"MXC4005", 0},
+ {"MXC6655", 0},
{ },
};
MODULE_DEVICE_TABLE(acpi, mxc4005_acpi_match);
static const struct i2c_device_id mxc4005_id[] = {
{"mxc4005", 0},
+ {"mxc6655", 0},
{ },
};
MODULE_DEVICE_TABLE(i2c, mxc4005_id);