| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Synaptics NavPoint (PXA27x SSP/SPI) driver. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com> |
|---|
| 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 version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 108 | 105 | case 0x19: /* Module 0, Hello packet */ |
|---|
| 109 | 106 | if ((navpoint->data[1] & 0xf0) == 0x10) |
|---|
| 110 | 107 | break; |
|---|
| 111 | | - /* FALLTHROUGH */ |
|---|
| 108 | + fallthrough; |
|---|
| 112 | 109 | default: |
|---|
| 113 | 110 | dev_warn(navpoint->dev, |
|---|
| 114 | 111 | "spurious packet: data=0x%02x,0x%02x,...\n", |
|---|