lkml.org 
[lkml]   [2019]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/5] KPC2000: kpc2000_spi.c: Fix style issues (line length)
    Date
    Resoved: "WARNING: line over 80 characters" from checkpatch.pl

    Signed-off-by: Chandra Annamaneni <chandra627@gmail.com>
    ---
    drivers/staging/kpc2000/kpc2000_spi.c | 20 ++++++++++----------
    1 file changed, 10 insertions(+), 10 deletions(-)

    diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c
    index 3be33c450cab..81d79b116ce0 100644
    --- a/drivers/staging/kpc2000/kpc2000_spi.c
    +++ b/drivers/staging/kpc2000/kpc2000_spi.c
    @@ -30,19 +30,19 @@
    #include "kpc.h"

    static struct mtd_partition p2kr0_spi0_parts[] = {
    - { .name = "SLOT_0", .size = 7798784, .offset = 0, },
    - { .name = "SLOT_1", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    - { .name = "SLOT_2", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    - { .name = "SLOT_3", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    - { .name = "CS0_EXTRA", .size = MTDPART_SIZ_FULL, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "SLOT_0", .size = 7798784, .offset = 0, },
    + { .name = "SLOT_1", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "SLOT_2", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "SLOT_3", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "CS0_EXTRA", .size = MTDPART_SIZ_FULL, .offset = MTDPART_OFS_NXTBLK},
    };

    static struct mtd_partition p2kr0_spi1_parts[] = {
    - { .name = "SLOT_4", .size = 7798784, .offset = 0, },
    - { .name = "SLOT_5", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    - { .name = "SLOT_6", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    - { .name = "SLOT_7", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    - { .name = "CS1_EXTRA", .size = MTDPART_SIZ_FULL, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "SLOT_4", .size = 7798784, .offset = 0,},
    + { .name = "SLOT_5", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "SLOT_6", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "SLOT_7", .size = 7798784, .offset = MTDPART_OFS_NXTBLK},
    + { .name = "CS1_EXTRA", .size = MTDPART_SIZ_FULL, .offset = MTDPART_OFS_NXTBLK},
    };

    static struct flash_platform_data p2kr0_spi0_pdata = {
    --
    2.20.1
    \
     
     \ /
      Last update: 2019-10-11 07:53    [W:8.169 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site