serial: samsung: correct the case and default order in switch
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Mon, 14 Jul 2014 11:37:17 +0000 (17:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:18:22 +0000 (18:18 -0700)
commit3bcce591aa1f5d9248666e41d99e76c27de6900f
tree2147d916541cb854ed7cd7592945630f72c8cfca
parent135f07c3252dc77d0245714d0b413ecc711cd823
serial: samsung: correct the case and default order in switch

The cases should comes before default in a switch.

Even if we want the case and default to share same code.
Its good to define the case first followed by default.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c