Driver core: coding style cleanup
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 9 Jul 2007 18:39:18 +0000 (11:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:02 +0000 (16:09 -0700)
commitdc0afa8388972a9ed7c2203cc46d8df1a4713f65
treea4693ef5ac039e868c3c53b72b504868f5199998
parent93160c6397e460bc4c7ac15323fb698f91ef02e5
Driver core: coding style cleanup

This converts code of the form

if ((error = some_func()))
goto fixup;
to
error = some_func();
if (error)
goto fixup;

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c
drivers/base/core.c