staging: unisys: fix strict checks in create_device()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 5 Dec 2014 22:08:45 +0000 (17:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jan 2015 01:30:20 +0000 (17:30 -0800)
commitc62bddfb6aea7e2fa5ba85f83f71e17e8e681e55
tree659fa201a6b3de22c315fc002acecc8c7e00f27f
parent20eca8f096867fdbd890a8c16a05fb0bd9a7ca06
staging: unisys: fix strict checks in create_device()

Use the variable name rather than the type, and add a set of missing brackets
to the if statement in create_device().

Signed-off-by: Ken Depro <kenneth.depro@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/uislib/uislib.c