iio:accel:bmc150-accel: make use of mask definition
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 <4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de>
Reviewed-by: Octavian Purdila <77c06d0261d8d3a9171f87dd4ca9bbbd1924db77@intel.com>
Signed-off-by: Jonathan Cameron <09f65b71b7655725897b2fd41a09a0cefe2e1ace@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs