iio:magnetometer:bmc150_magn: use descriptive name for mask
authorHartmut Knaack <knaack.h@gmx.de>
Fri, 17 Jul 2015 08:52:31 +0000 (10:52 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 2 Aug 2015 17:04:29 +0000 (18:04 +0100)
commit1506f3cd0b8169773188a080d367c2ed019373a3
tree74c0ef1b00f5d4b108851cb3174c00750cb273b7
parent3021678a94cdb942bea4e634a37e91fe341b27b0
iio:magnetometer:bmc150_magn: use descriptive name for mask

Define and use a descriptive name for the repetition registers data mask,
instead of a 'magic' value.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/bmc150_magn.c