staging: unisys: visorbus: Remove pointer cast that causes sparse warning
authorDavid Binder <david.binder@unisys.com>
Fri, 17 Mar 2017 15:27:11 +0000 (11:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 06:58:46 +0000 (07:58 +0100)
commit5da77f375d2364385842602b50057aafc039e543
treea6250c0b914e458ce4d99dc98fe25c6b30272d9a
parentc4549595c9bbbc8354f89111f96221466a6809ec
staging: unisys: visorbus: Remove pointer cast that causes sparse warning

Removes unnecessary cast of to __iomem of a non-io-mapped pointer, thereby
eliminating the following sparse warning:

visorchannel.c:159:17: warning: cast adds address space to expression (<asn:2>)

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchannel.c