| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * GPIO based serio bus driver for bit banging the PS/2 protocol |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Author: Danilo Krummrich <danilokrummrich@dk-develop.de> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #include <linux/gpio/consumer.h> |
|---|
| .. | .. |
|---|
| 372 | 369 | |
|---|
| 373 | 370 | drvdata->irq = platform_get_irq(pdev, 0); |
|---|
| 374 | 371 | if (drvdata->irq < 0) { |
|---|
| 375 | | - dev_err(dev, "failed to get irq from platform resource: %d\n", |
|---|
| 376 | | - drvdata->irq); |
|---|
| 377 | 372 | error = drvdata->irq; |
|---|
| 378 | 373 | goto err_free_serio; |
|---|
| 379 | 374 | } |
|---|