staging: vme: Simplfy string usage in vme_user_probe()
authorBojan Prtvar <prtvar.b@gmail.com>
Thu, 3 Apr 2014 16:56:10 +0000 (18:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 23:21:05 +0000 (16:21 -0700)
commitf1552cbdc7d3cb42f3c9e88b2ad6cd5bfe90881a
tree7849a303bc527d933b9198113764cf929b864613
parent938acb99ce6c8883075c4c6e64409dd765bdb9e9
staging: vme: Simplfy string usage in vme_user_probe()

We can avoid usage of sprintf() and magic-sized array with simple pointer assignment.

Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com>
Reviewed-by: wharms <wharms@bfs.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_user.c