iio: stx104: Add GPIO set_multiple callback function support
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Thu, 19 Jan 2017 15:06:16 +0000 (10:06 -0500)
committerJonathan Cameron <jic23@kernel.org>
Wed, 1 Feb 2017 18:50:54 +0000 (18:50 +0000)
commitbfe7288e0dd143268359f703ac9b8d4f904d3f75
tree5c427121bc273f8209ff80277eb4e3af953e000f
parent1c74a6da1e4fefb9db9ce467b5e482fb6a15c676
iio: stx104: Add GPIO set_multiple callback function support

The Apex Embedded Systems STX104 series provides a digital output
register where 4 lines may be set at a time. This patch add support for
the set_multiple callback function, thus allowing multiple digital
output lines to be set more efficiently in groups.

Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/stx104.c