commit | 03ecd50c50450b3e3173c9dda8adab241b46ae1e | [log] [tgz] |
---|---|---|
author | Hartmut Knaack <knaack.h@gmx.de> | Wed Jul 29 23:39:37 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Aug 08 12:22:16 2015 +0100 |
tree | bcc701901d0ece4fd5d3a89cab48a286dc4d6883 | |
parent | 18422bb3c1d89b510bb7c590c716dd6ad8e1a1e4 [diff] |
iio:accel:stk8312: rework macro definitions Make use of BIT to describe register bits, GENMASK for consecutive bitmasks, rename and sort existing definitions, replace magic value with an expressive definition, drop an unused definition. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Reviewed-by: Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>