greybus: loopback: drop unneeded casts for void pointers
authorAlex Elder <elder@linaro.org>
Mon, 3 Aug 2015 17:57:11 +0000 (12:57 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 4 Aug 2015 03:11:49 +0000 (20:11 -0700)
commit3f12c3ed21d9e28ae2dc50a6c567ee5d5c6054d1
tree4ab21c0b42c3926269b0d8a2c4a0d41c5abf208c
parent006335a02677ed20dbff44f398a9cbf823db0293
greybus: loopback: drop unneeded casts for void pointers

There is no need to cast a void pointer to a particular type.
Drop the casts used in this way, mainly in the attribute definition
macros.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c