w1: cleanup w1_uevent
authorDevendra Naga <devendra.aaru@gmail.com>
Sat, 19 May 2012 03:31:54 +0000 (07:31 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 22:27:32 +0000 (15:27 -0700)
commit526be41625a8b2282d5720dcb19f927edbf193b4
treea6b5e3e3f77cf1da966a071bb64f22bc37154717
parent59d4467be405316916a4087d5b02d99196eeef04
w1: cleanup w1_uevent

There were some return statements around in the w1_uevent, used goto
to cleanup those return statements with the help of err variable,
and also removed a semi colon at the end of the w1_uevent's closing
brace.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c