.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | Copyright (c) 2002,2003 Alexander Malysh <amalysh@web.de> |
---|
3 | 4 | |
---|
4 | | - This program is free software; you can redistribute it and/or modify |
---|
5 | | - it under the terms of the GNU General Public License as published by |
---|
6 | | - the Free Software Foundation; either version 2 of the License, or |
---|
7 | | - (at your option) any later version. |
---|
8 | | - |
---|
9 | | - This program is distributed in the hope that it will be useful, |
---|
10 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | | - GNU General Public License for more details. |
---|
13 | 5 | */ |
---|
14 | 6 | |
---|
15 | 7 | /* |
---|
.. | .. |
---|
478 | 470 | if (!request_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION, |
---|
479 | 471 | sis630_driver.name)) { |
---|
480 | 472 | dev_err(&sis630_dev->dev, |
---|
481 | | - "I/O Region 0x%04hx-0x%04hx for SMBus already in use.\n", |
---|
| 473 | + "I/O Region 0x%04x-0x%04x for SMBus already in use.\n", |
---|
482 | 474 | smbus_base + SMB_STS, |
---|
483 | 475 | smbus_base + SMB_STS + SIS630_SMB_IOREGION - 1); |
---|
484 | 476 | retval = -EBUSY; |
---|
.. | .. |
---|
528 | 520 | sis630_adapter.dev.parent = &dev->dev; |
---|
529 | 521 | |
---|
530 | 522 | snprintf(sis630_adapter.name, sizeof(sis630_adapter.name), |
---|
531 | | - "SMBus SIS630 adapter at %04hx", smbus_base + SMB_STS); |
---|
| 523 | + "SMBus SIS630 adapter at %04x", smbus_base + SMB_STS); |
---|
532 | 524 | |
---|
533 | 525 | return i2c_add_adapter(&sis630_adapter); |
---|
534 | 526 | } |
---|