mtd: devices: elm: fix elm_context_save() and elm_context_restore() functions
authorTed Juan <ted.juan@gmail.com>
Fri, 20 Jun 2014 09:32:05 +0000 (17:32 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 5 Jul 2014 22:44:42 +0000 (15:44 -0700)
commit6938ad40cb97a52d88a763008935340729a4acc7
tree922998d2715e8f70532010748ed7a3370693b860
parent7171511eaec5bf23fb06078f59784a3a0626b38f
mtd: devices: elm: fix elm_context_save() and elm_context_restore() functions

These two function's switch case lack the 'break' that make them always
return error.

Signed-off-by: Ted Juan <ted.juan@gmail.com>
Acked-by: Pekon Gupta <pekon@ti.com>
Cc: <stable@vger.kernel.org> # 3.12.x+
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/elm.c