diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-07-30 00:39:37 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-08 14:22:16 +0300 |
commit | 03ecd50c50450b3e3173c9dda8adab241b46ae1e (patch) | |
tree | bcc701901d0ece4fd5d3a89cab48a286dc4d6883 /drivers/scsi/scsi_devinfo.c | |
parent | 18422bb3c1d89b510bb7c590c716dd6ad8e1a1e4 (diff) | |
download | linux-03ecd50c50450b3e3173c9dda8adab241b46ae1e.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/scsi_devinfo.c')
0 files changed, 0 insertions, 0 deletions