commit | 5e64897638169d13f1637eecdaf8cb8512c4a3a1 | [log] [tgz] |
---|---|---|
author | Derek Basehore <dbasehore@chromium.org> | Thu Aug 29 21:14:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Sep 18 19:43:25 2013 +0100 |
tree | 8a87e9feeba2fa8e591b5f8ca1cd07cf4f683ec5 | |
parent | c919095657781bfa58453842f1dd656857b97f84 [diff] |
iio: isl29018: Fix uninitialized value The lux_uscale value is not initialized at probe. The value will be uninitialized unless a value is written to it through the iio channel interface. This fixes that. Signed-off-by: Derek Basehore <dbasehore@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/65998 Signed-off-by: Jonathan Cameron <jic23@kernel.org>