hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/input/touchscreen/88pm860x-ts.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Touchscreen driver for Marvell 88PM860x
34 *
45 * Copyright (C) 2009 Marvell International Ltd.
56 * Haojian Zhuang <haojian.zhuang@marvell.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118 #include <linux/kernel.h>
129 #include <linux/module.h>
....@@ -188,10 +185,8 @@
188185 int irq, ret, res_x = 0, data = 0;
189186
190187 irq = platform_get_irq(pdev, 0);
191
- if (irq < 0) {
192
- dev_err(&pdev->dev, "No IRQ resource!\n");
188
+ if (irq < 0)
193189 return -EINVAL;
194
- }
195190
196191 if (pm860x_touch_dt_init(pdev, chip, &res_x)) {
197192 if (pdata) {