]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iio:ad5064: Use a enum for the register map layout type
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 8 Feb 2016 17:01:49 +0000 (18:01 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 8 Feb 2016 18:41:38 +0000 (18:41 +0000)
commit4946ff5858392012ed17a079c5b3dd4bc4b15cf9
tree01d9e7b6d5c9636e3b14d557f19551ff26ac50f5
parentd23b2e8a5cdb174759935f0b3712a6af692e121e
iio:ad5064: Use a enum for the register map layout type

Currently the ad5064 only supports two different register map variations
and this is represented by a bool. This patch changes since to a enum so
we can support more variations in the future.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5064.c