diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-07-27 18:32:58 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-29 14:58:08 +0000 |
| commit | 37b8b73f641cc151a58eef8b9a73dac2f273146e (patch) | |
| tree | 0584d9e13d4ff3c2c3df2dc9a7e37a0205f639f3 /drivers/greybus/interface.c | |
| parent | mei: add device kind to sysfs (diff) | |
| download | kernel-37b8b73f641cc151a58eef8b9a73dac2f273146e.tar.gz kernel-37b8b73f641cc151a58eef8b9a73dac2f273146e.zip | |
greybus: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].
[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/20200727183258.GA28571@embeddedor
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/greybus/interface.c')
| -rw-r--r-- | drivers/greybus/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/greybus/interface.c b/drivers/greybus/interface.c index 67dbe6fda9a1..58ea374d8aaa 100644 --- a/drivers/greybus/interface.c +++ b/drivers/greybus/interface.c @@ -1233,7 +1233,7 @@ int gb_interface_add(struct gb_interface *intf) case GB_INTERFACE_TYPE_GREYBUS: dev_info(&intf->dev, "GMP VID=0x%08x, PID=0x%08x\n", intf->vendor_id, intf->product_id); - /* fall-through */ + fallthrough; case GB_INTERFACE_TYPE_UNIPRO: dev_info(&intf->dev, "DDBL1 Manufacturer=0x%08x, Product=0x%08x\n", intf->ddbl1_manufacturer_id, |
