staging: unisys: refactor visor_memregion_create()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 4 Nov 2014 16:25:16 +0000 (11:25 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Nov 2014 19:50:49 +0000 (11:50 -0800)
commitfef483891dc5aaca047fad7cf594651fbda9bef5
treef7333561df72db691dfa8328433ce4cb4857c738
parentb63438c4e33149cf1dfd6f0ffb151e4dd0a65ce7
staging: unisys: refactor visor_memregion_create()

Fix the sizeof() so it uses the variable name rather than the type, fix the
argument alignment to the kzalloc(), and rename the goto label.

Away => cleanup

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorutil/memregion_direct.c