aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/kpc2000/kpc2000_spi.c
diff options
context:
space:
mode:
authorGeordan Neukum <gneukum1@gmail.com>2019-06-02 15:58:34 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-03 14:15:23 +0200
commit32ed45068c7e79947da72f7a61800bae1dd39596 (patch)
tree227552552ff77db0ea23f7719b6abb3f2bc8335d /drivers/staging/kpc2000/kpc2000_spi.c
parentstaging: kpc2000: kpc_spi: Remove unnecessary consecutive newlines (diff)
downloadlinux-dev-32ed45068c7e79947da72f7a61800bae1dd39596.tar.xz
linux-dev-32ed45068c7e79947da72f7a61800bae1dd39596.zip
staging: kpc2000: kpc_spi: column-align switch and subordinate cases
The linux style guide prescribes that switch statements and their subordinate case labels should be column-aligned rather than double-indenting the case label. Make kpc2000_spi.c follow the desired style with respect to switch/case alignment. Signed-off-by: Geordan Neukum <gneukum1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000/kpc2000_spi.c')
-rw-r--r--drivers/staging/kpc2000/kpc2000_spi.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c
index ef7e062bf52c..13c4651e1fac 100644
--- a/drivers/staging/kpc2000/kpc2000_spi.c
+++ b/drivers/staging/kpc2000/kpc2000_spi.c
@@ -502,13 +502,13 @@ kp_spi_probe(struct platform_device *pldev)
}
switch ((drvdata->card_id & 0xFFFF0000) >> 16){
- case PCI_DEVICE_ID_DAKTRONICS_KADOKA_P2KR0:
- NEW_SPI_DEVICE_FROM_BOARD_INFO_TABLE(p2kr0_board_info);
- break;
- default:
- dev_err(&pldev->dev, "Unknown hardware, cant know what partition table to use!\n");
- goto free_master;
- break;
+ case PCI_DEVICE_ID_DAKTRONICS_KADOKA_P2KR0:
+ NEW_SPI_DEVICE_FROM_BOARD_INFO_TABLE(p2kr0_board_info);
+ break;
+ default:
+ dev_err(&pldev->dev, "Unknown hardware, cant know what partition table to use!\n");
+ goto free_master;
+ break;
}
return status;