aboutsummaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorOctavian Purdila <[email protected]>2015-01-31 02:00:05 +0200
committerJonathan Cameron <[email protected]>2015-02-08 10:40:25 +0000
commit14ee64f438b8e85d1c78939d301956d9a775cc9a (patch)
treee73c5e7181cd6f60aeadcb5abad2345f338fee2c /lib/timerqueue.c
parent8e22f477e1432ace88b762f5f66e0f96631a1462 (diff)
iio: bmc150: exit early if event / trigger state is not changed
Previous of this patch the check was only done if we enabled the event and it was already enabled. We can do the same if the event is disabled and we want to disable it. The patch also adds the same check on the trigger code. Signed-off-by: Octavian Purdila <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions