iio: magnetometer: mmc35240: i2c device name should be lower case
authorDaniel Baluta <daniel.baluta@intel.com>
Fri, 5 Jun 2015 11:03:10 +0000 (14:03 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 7 Jun 2015 15:33:09 +0000 (16:33 +0100)
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>
drivers/iio/magnetometer/mmc35240.c

index c71392cf13706490cb466acc9e21b830f8d4e67a..d8cf5a6f929111a045d5c958705c61aecfc2de68 100644 (file)
@@ -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);
This page took 0.025267 seconds and 5 git commands to generate.