commit | fdd15f6594f6bc466a01da28ddd2f11bb0e47a9f | [log] [tgz] |
---|---|---|
author | Hartmut Knaack <knaack.h@gmx.de> | Mon Jun 15 23:48:25 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jun 21 14:44:32 2015 +0100 |
tree | 843dc75f6eed46cb45c604249d1cef19b03508c8 | |
parent | 825c50dba0139b0322436ddda7d11f043955875e [diff] |
iio:accel:bmc150-accel: make use of mask definition BMC150_ACCEL_SLOPE_THRES_MASK was defined some time ago, but its 'magic' value got used instead in bmc150_accel_write_event(). Make use of it for improved readability. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Reviewed-by: Octavian Purdila <octavian.purdila@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>