.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * IBM OPAL I2C driver |
---|
3 | 4 | * Copyright (C) 2014 IBM |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License as published by |
---|
7 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
8 | | - * (at your option) any later version. |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - * GNU General Public License for more details. |
---|
14 | | - * |
---|
15 | | - * You should have received a copy of the GNU General Public License |
---|
16 | | - * along with this program. |
---|
17 | 5 | */ |
---|
18 | 6 | |
---|
19 | 7 | #include <linux/device.h> |
---|
.. | .. |
---|
137 | 125 | case I2C_SMBUS_BYTE: |
---|
138 | 126 | req.buffer_ra = cpu_to_be64(__pa(&data->byte)); |
---|
139 | 127 | req.size = cpu_to_be32(1); |
---|
140 | | - /* Fall through */ |
---|
| 128 | + fallthrough; |
---|
141 | 129 | case I2C_SMBUS_QUICK: |
---|
142 | 130 | req.type = (read_write == I2C_SMBUS_READ) ? |
---|
143 | 131 | OPAL_I2C_RAW_READ : OPAL_I2C_RAW_WRITE; |
---|