hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/i2c/busses/i2c-sis630.c
....@@ -1,15 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 Copyright (c) 2002,2003 Alexander Malysh <amalysh@web.de>
34
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.
135 */
146
157 /*
....@@ -478,7 +470,7 @@
478470 if (!request_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION,
479471 sis630_driver.name)) {
480472 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",
482474 smbus_base + SMB_STS,
483475 smbus_base + SMB_STS + SIS630_SMB_IOREGION - 1);
484476 retval = -EBUSY;
....@@ -528,7 +520,7 @@
528520 sis630_adapter.dev.parent = &dev->dev;
529521
530522 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);
532524
533525 return i2c_add_adapter(&sis630_adapter);
534526 }