| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * PWM vibrator driver |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 8 | 9 | * |
|---|
| 9 | 10 | * Based on PWM beeper driver: |
|---|
| 10 | 11 | * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 13 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 14 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 15 | | - * option) any later version. |
|---|
| 16 | 12 | */ |
|---|
| 17 | 13 | |
|---|
| 18 | 14 | #include <linux/input.h> |
|---|
| .. | .. |
|---|
| 194 | 190 | |
|---|
| 195 | 191 | default: |
|---|
| 196 | 192 | dev_err(&pdev->dev, "Failed to request direction pwm: %d", err); |
|---|
| 197 | | - /* Fall through */ |
|---|
| 193 | + fallthrough; |
|---|
| 198 | 194 | |
|---|
| 199 | 195 | case -EPROBE_DEFER: |
|---|
| 200 | 196 | return err; |
|---|