forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/i2c/busses/i2c-ibm_iic.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * drivers/i2c/busses/i2c-ibm_iic.c
34 *
....@@ -23,12 +24,6 @@
2324 *
2425 * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi>
2526 * 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
- *
3227 */
3328
3429 #include <linux/module.h>
....@@ -437,7 +432,7 @@
437432 break;
438433 }
439434
440
- if (unlikely(signal_pending(current))){
435
+ if (signal_pending(current)){
441436 DBG("%d: poll interrupted\n", dev->idx);
442437 ret = -ERESTARTSYS;
443438 break;