| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * drivers/i2c/busses/i2c-ibm_iic.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 23 | 24 | * |
|---|
| 24 | 25 | * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> |
|---|
| 25 | 26 | * and even Frodo Looijaard <frodol@dds.nl> |
|---|
| 26 | | - * |
|---|
| 27 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 28 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 29 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 30 | | - * option) any later version. |
|---|
| 31 | | - * |
|---|
| 32 | 27 | */ |
|---|
| 33 | 28 | |
|---|
| 34 | 29 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 437 | 432 | break; |
|---|
| 438 | 433 | } |
|---|
| 439 | 434 | |
|---|
| 440 | | - if (unlikely(signal_pending(current))){ |
|---|
| 435 | + if (signal_pending(current)){ |
|---|
| 441 | 436 | DBG("%d: poll interrupted\n", dev->idx); |
|---|
| 442 | 437 | ret = -ERESTARTSYS; |
|---|
| 443 | 438 | break; |
|---|