diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2009-12-14 21:01:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:36 -0500 |
commit | 539954120b84c44521df6d1997e340a04418db6d (patch) | |
tree | 7bc6a8cdcff06dd4eafbe7af8b95a49bf73b9f14 /drivers/hwmon/lis3lv02d.h | |
parent | 2db4a76d5f3554e9e5632c8f91828313318579c8 (diff) |
lis3lv02d: remove calibaration functionality
Chip is calibrated by the manufacturer. There is no need to calibarate it
at driver level. If the chip is used as a joystick, calibaration can be
done using joystick device calibration mechanism.
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: Éric Piel <Eric.Piel@tremplin-utc.net>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/lis3lv02d.h')
-rw-r--r-- | drivers/hwmon/lis3lv02d.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hwmon/lis3lv02d.h b/drivers/hwmon/lis3lv02d.h index 166794cb91a3..1e9fb03dcd59 100644 --- a/drivers/hwmon/lis3lv02d.h +++ b/drivers/hwmon/lis3lv02d.h | |||
@@ -216,9 +216,6 @@ struct lis3lv02d { | |||
216 | struct input_polled_dev *idev; /* input device */ | 216 | struct input_polled_dev *idev; /* input device */ |
217 | struct platform_device *pdev; /* platform device */ | 217 | struct platform_device *pdev; /* platform device */ |
218 | atomic_t count; /* interrupt count after last read */ | 218 | atomic_t count; /* interrupt count after last read */ |
219 | int xcalib; /* calibrated null value for x */ | ||
220 | int ycalib; /* calibrated null value for y */ | ||
221 | int zcalib; /* calibrated null value for z */ | ||
222 | struct axis_conversion ac; /* hw -> logical axis */ | 219 | struct axis_conversion ac; /* hw -> logical axis */ |
223 | 220 | ||
224 | u32 irq; /* IRQ number */ | 221 | u32 irq; /* IRQ number */ |