iio: light: us5182d: Add interrupt support and events
authorAdriana Reus <adriana.reus@intel.com>
Mon, 14 Dec 2015 12:24:46 +0000 (14:24 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 22 Dec 2015 18:07:05 +0000 (18:07 +0000)
commitb6695254f800698faee4f30a8f0b199459ebeafe
treee91bfc8c5cc24a734f1899c53a2a7576a9f8f5d6
parent58e9042f5f130bf3f9043cf75aa2632fc12140e6
iio: light: us5182d: Add interrupt support and events

Add interrupt support for proximity.
Add two threshold events to signal rising and falling directions.

Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/us5182d.c