diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-09-24 13:23:49 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-27 00:24:25 +0400 |
commit | e2b2ed8365e040b274dd23bdabd34ec3b0e43137 (patch) | |
tree | c4d4a0d8c2488e9f339860b92dc0f10bdc4b3a86 /drivers/misc/lis3lv02d/lis3lv02d_i2c.c | |
parent | bcdee04ea7ae0406ae69094f6df1aacb66a69a0b (diff) | |
download | linux-e2b2ed8365e040b274dd23bdabd34ec3b0e43137.tar.xz |
lis3lv02d: fix some comments specific to lis331dlh driver
Fix some minor problems in comments of lis331dlh driver
* correct comments with respect to 2G sensitivity
* correct typo lis3331dlh mistake to lis331dlh
* add comment to say only 2G range is supported
* change the function name from lis3lv02d_read_16 to
lis331dlh_read_data.
* update i2c_device_id table entry to maintaine consistancy
* update sensor display message
Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lis3lv02d/lis3lv02d_i2c.c')
-rw-r--r-- | drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c index 15255eb8ac81..2c0a1148ee22 100644 --- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c +++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c @@ -235,7 +235,7 @@ static int lis3_i2c_runtime_resume(struct device *dev) #endif /* CONFIG_PM_RUNTIME */ static const struct i2c_device_id lis3lv02d_id[] = { - {"lis3lv02d", 0 }, + {"lis3lv02d", LIS3LV02D}, {"lis331dlh", LIS331DLH}, {} }; |