| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * mxl111sf-gpio.c - driver for the MaxLinear MXL111SF |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2010-2014 Michael Krufky <mkrufky@linuxtv.org> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | 6 | */ |
|---|
| 16 | 7 | |
|---|
| 17 | 8 | #include "mxl111sf-gpio.h" |
|---|
| .. | .. |
|---|
| 641 | 632 | default: |
|---|
| 642 | 633 | mxl_printk(KERN_ERR, |
|---|
| 643 | 634 | "gpio_port_expander undefined, assuming PCA9534"); |
|---|
| 644 | | - /* fall-thru */ |
|---|
| 635 | + fallthrough; |
|---|
| 645 | 636 | case mxl111sf_PCA9534: |
|---|
| 646 | 637 | return pca9534_set_gpio(state, gpio, val); |
|---|
| 647 | 638 | case mxl111sf_gpio_hw: |
|---|
| .. | .. |
|---|
| 702 | 693 | default: |
|---|
| 703 | 694 | mxl_printk(KERN_ERR, |
|---|
| 704 | 695 | "gpio_port_expander undefined, assuming PCA9534"); |
|---|
| 705 | | - /* fall-thru */ |
|---|
| 696 | + fallthrough; |
|---|
| 706 | 697 | case mxl111sf_PCA9534: |
|---|
| 707 | 698 | return pca9534_init_port_expander(state); |
|---|
| 708 | 699 | case mxl111sf_gpio_hw: |
|---|