staging: iio: adt7316: fix register and bit definitions
authorJeremy Fertic <jeremyfertic@gmail.com>
Wed, 12 Dec 2018 00:54:53 +0000 (17:54 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Dec 2018 14:05:55 +0000 (14:05 +0000)
commit53a6f022b4fe8645468adaffca901dbf8c3c547e
tree4e06879cafaf8b6c4f12229869732ef300e24327
parentc6cbcdea7ab94120b676a4865e9782ed3c06dc80
staging: iio: adt7316: fix register and bit definitions

Change two register addresses and one bit definition to match the
datasheet.

Note that there are many issues in this driver so I would
not suggest backporting these fixes to stable trees.

Signed-off-by: Jeremy Fertic <jeremyfertic@gmail.com>
Fixes: 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/addac/adt7316.c