summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2015-06-05 14:03:10 +0300
committerJonathan Cameron <jic23@kernel.org>2015-06-07 16:33:09 +0100
commita52ffebcf19afea27588abe75828f9d300e08f3d (patch)
tree362ce695888a9f0327c760acf437b844f2e4a2d0 /drivers/iio
parented6e75c7dc5627c7251002936577052ae73ac2db (diff)
downloadlinux-stable-a52ffebcf19afea27588abe75828f9d300e08f3d.tar.gz
linux-stable-a52ffebcf19afea27588abe75828f9d300e08f3d.tar.bz2
linux-stable-a52ffebcf19afea27588abe75828f9d300e08f3d.zip
iio: magnetometer: mmc35240: i2c device name should be lower case
This is the standard convention for i2c device name and also this is the name used in some Intel platforms DT files. Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240") Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/magnetometer/mmc35240.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/mmc35240.c b/drivers/iio/magnetometer/mmc35240.c
index c71392cf1370..d8cf5a6f9291 100644
--- a/drivers/iio/magnetometer/mmc35240.c
+++ b/drivers/iio/magnetometer/mmc35240.c
@@ -490,7 +490,7 @@ static const struct acpi_device_id mmc35240_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, mmc35240_acpi_match);
static const struct i2c_device_id mmc35240_id[] = {
- {"MMC35240", 0},
+ {"mmc35240", 0},
{}
};
MODULE_DEVICE_TABLE(i2c, mmc35240_id);