staging: iio: adt7316: fix register and bit definitions

commit 53a6f022b4 upstream.

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: 35f6b6b86e ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Jeremy Fertic 2018-12-11 17:54:53 -07:00 • committed by Ben Hutchings
commit 4b36e0ad6d