]> Git Repo - linux.git/commitdiff
ata: pata_pdc2027x: Fix space before '[' error.
authorArvind Yadav <[email protected]>
Mon, 30 Oct 2017 16:04:19 +0000 (21:34 +0530)
committerTejun Heo <[email protected]>
Mon, 30 Oct 2017 16:19:06 +0000 (09:19 -0700)
Fix checkpatch.pl error:
ERROR: space prohibited before open square bracket '['.

Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
drivers/ata/pata_pdc2027x.c

index 82bfd51692f316e3d7c0acc40f0d8c1514708a71..ffd8d33c6e0f044dece4e4bcc4560aebd68290ac 100644 (file)
@@ -84,7 +84,7 @@ static int pdc2027x_set_mode(struct ata_link *link, struct ata_device **r_failed
  */
 static struct pdc2027x_pio_timing {
        u8 value0, value1, value2;
-} pdc2027x_pio_timing_tbl [] = {
+} pdc2027x_pio_timing_tbl[] = {
        { 0xfb, 0x2b, 0xac }, /* PIO mode 0 */
        { 0x46, 0x29, 0xa4 }, /* PIO mode 1 */
        { 0x23, 0x26, 0x64 }, /* PIO mode 2 */
@@ -94,7 +94,7 @@ static struct pdc2027x_pio_timing {
 
 static struct pdc2027x_mdma_timing {
        u8 value0, value1;
-} pdc2027x_mdma_timing_tbl [] = {
+} pdc2027x_mdma_timing_tbl[] = {
        { 0xdf, 0x5f }, /* MDMA mode 0 */
        { 0x6b, 0x27 }, /* MDMA mode 1 */
        { 0x69, 0x25 }, /* MDMA mode 2 */
@@ -102,7 +102,7 @@ static struct pdc2027x_mdma_timing {
 
 static struct pdc2027x_udma_timing {
        u8 value0, value1, value2;
-} pdc2027x_udma_timing_tbl [] = {
+} pdc2027x_udma_timing_tbl[] = {
        { 0x4a, 0x0f, 0xd5 }, /* UDMA mode 0 */
        { 0x3a, 0x0a, 0xd0 }, /* UDMA mode 1 */
        { 0x2a, 0x07, 0xcd }, /* UDMA mode 2 */
This page took 0.051593 seconds and 4 git commands to generate.