.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * PHY support for Xenon SDHC |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * |
---|
6 | 7 | * Author: Hu Ziji <huziji@marvell.com> |
---|
7 | 8 | * Date: 2016-8-24 |
---|
8 | | - * |
---|
9 | | - * This program is free software; you can redistribute it and/or |
---|
10 | | - * modify it under the terms of the GNU General Public License as |
---|
11 | | - * published by the Free Software Foundation version 2. |
---|
12 | 9 | */ |
---|
13 | 10 | |
---|
14 | 11 | #include <linux/slab.h> |
---|
.. | .. |
---|
530 | 527 | ret = true; |
---|
531 | 528 | break; |
---|
532 | 529 | } |
---|
533 | | - /* else: fall through */ |
---|
| 530 | + fallthrough; |
---|
534 | 531 | default: |
---|
535 | 532 | reg &= ~XENON_TIMING_ADJUST_SLOW_MODE; |
---|
536 | 533 | ret = false; |
---|
.. | .. |
---|
664 | 661 | return 0; |
---|
665 | 662 | |
---|
666 | 663 | if (of_address_to_resource(np, 1, &iomem)) { |
---|
667 | | - dev_err(mmc_dev(host->mmc), "Unable to find SoC PAD ctrl register address for %s\n", |
---|
668 | | - np->name); |
---|
| 664 | + dev_err(mmc_dev(host->mmc), "Unable to find SoC PAD ctrl register address for %pOFn\n", |
---|
| 665 | + np); |
---|
669 | 666 | return -EINVAL; |
---|
670 | 667 | } |
---|
671 | 668 | |
---|