iio: sx9500: refactor GPIO interrupt code
iio: sx9500: refactor GPIO interrupt code

Signed-off-by: Vlad Dogaru <8a8090b76fed5957d83ed04f662034969f51e57f@intel.com>
Signed-off-by: Jonathan Cameron <09f65b71b7655725897b2fd41a09a0cefe2e1ace@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs