]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
iio: 104-quad-8: Provide defines for magic numbers
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Sun, 27 May 2018 17:18:43 +0000 (13:18 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 10 Jun 2018 10:52:30 +0000 (11:52 +0100)
commit17f0361936a5bdeb4958813b1c5542fdc91de925
tree97a1fa3560243ba0c2bbbba0fa7345d05c03ad4b
parentf5057e7b2dba4c33ed293196d75cb139d5014715
iio: 104-quad-8: Provide defines for magic numbers

This patch adds several register and bit defines to help improve the
clarity of the code by cleaning up magic numbers throughout the driver.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/counter/104-quad-8.c