iio: adxl372: Provide validate_trigger and validate_device callbacks

This patch provides a validate_device callback for the trigger which makes
sure that other devices are rejected.

Signed-off-by: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Stefan Popa 2018-08-20 17:53:43 +03:00 • committed by Jonathan Cameron
commit 1c412a3215