commit | f30f929fcd6c8d2cae8ec4396534337886e414c0 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Feb 13 10:25:33 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Feb 13 20:10:32 2012 -0800 |
tree | df735b3731ba87d8e6f945981cad7d6af730480d | |
parent | da36716042d90a214dc80ea85c71b80c23889832 [diff] |
staging:iio: Add missing event code extract macros Add macros for extracting whether the event is for a differential channel and the second channel number from the event code. These were the only two fields which did not have such an macro yet. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>