hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/i2c/busses/i2c-viapro.c
....@@ -1,18 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>,
34 Philip Edelbrock <phil@netroedge.com>, Kyösti Mälkki <kmalkki@cc.hut.fi>,
45 Mark D. Studebaker <mdsxyz123@yahoo.com>
56 Copyright (C) 2005 - 2008 Jean Delvare <jdelvare@suse.de>
67
7
- This program is free software; you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
9
- the Free Software Foundation; either version 2 of the License, or
10
- (at your option) any later version.
11
-
12
- This program is distributed in the hope that it will be useful,
13
- but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
168 */
179
1810 /*
....@@ -236,7 +228,7 @@
236228 goto exit_unsupported;
237229 if (read_write == I2C_SMBUS_READ)
238230 outb_p(data->block[0], SMBHSTDAT0);
239
- /* Fall through */
231
+ fallthrough;
240232 case I2C_SMBUS_BLOCK_DATA:
241233 outb_p(command, SMBHSTCMD);
242234 if (read_write == I2C_SMBUS_WRITE) {
....@@ -497,9 +489,9 @@
497489 }
498490 }
499491
500
-MODULE_AUTHOR("Kyosti Malkki <kmalkki@cc.hut.fi>, "
501
- "Mark D. Studebaker <mdsxyz123@yahoo.com> and "
502
- "Jean Delvare <jdelvare@suse.de>");
492
+MODULE_AUTHOR("Kyosti Malkki <kmalkki@cc.hut.fi>");
493
+MODULE_AUTHOR("Mark D. Studebaker <mdsxyz123@yahoo.com>");
494
+MODULE_AUTHOR("Jean Delvare <jdelvare@suse.de>");
503495 MODULE_DESCRIPTION("vt82c596 SMBus driver");
504496 MODULE_LICENSE("GPL");
505497