staging: comedi: cleanup comedi_recognize()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 26 May 2012 12:14:45 +0000 (15:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:33:39 +0000 (20:33 -0700)
commit1c9de58acc06cba56b5f1bd17a5a74a66427f8b1
treefde995a5ebc027d32eb27fb1edbbd160ec228a98
parent5254cbe795c3bb9ef28d61a474d707385fc87178
staging: comedi: cleanup comedi_recognize()

This function is more complicated than it needs to be because of the
consts.  It's not worth saving them when we drop the consts anyway
when we return (void *)name_ptr.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc:
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c