]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pcmuio: cleanup dev->board_name usage
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Apr 2013 23:27:44 +0000 (16:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 19:47:52 +0000 (12:47 -0700)
commit34734c588dc41d4c2056381305f3dca1bfe86889
treef8c3a4af1b030b0a01e5788a969565d6a26eb0ba
parent1bdf7c2edfd2aa00f2a016fe997eb3297a02e1e5
staging: comedi: pcmuio: cleanup dev->board_name usage

This legacy driver does no additional probing so the dev->board_name
will already be properly initialized by the comedi core before calling
the (*attach) function.

Remove the unnecessary initialization of dev->board_name.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmuio.c