Commit 9f1623fd authored by Johan Hovold's avatar Johan Hovold

gnss: sirf: drop redundant double negation

The active flag is of type bool so drop the redundant double negation
when storing the gpio state.
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 4ceda5f6
......@@ -125,7 +125,7 @@ static irqreturn_t sirf_wakeup_handler(int irq, void *dev_id)
if (ret < 0)
goto out;
data->active = !!ret;
data->active = ret;
wake_up_interruptible(&data->power_wait);
out:
return IRQ_HANDLED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment