]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: w35und: replace switch error handling with gotos in wb35_hw_init()
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 8 Apr 2009 08:13:56 +0000 (11:13 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:37 +0000 (11:00 -0700)
commit8cd7d3965e9a2ae7f8805c7f2040a7102c8692fb
tree163000e771f27a123fd187bd8f70e8dac71c66ce
parent9900965fc58ba475bb51e8c0164f9cf0084151b1
Staging: w35und: replace switch error handling with gotos in wb35_hw_init()

Impact: cleanup

This patch replaces the switch-based error handling in wb35_hw_init()
with regular gotos.

Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/wbusb.c