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: Johan Hovold <johan@kernel.org>
This commit is contained in:
Родитель
4ceda5f654
Коммит
9f1623fdb3
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче