commit | 1c9de58acc06cba56b5f1bd17a5a74a66427f8b1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat May 26 15:14:45 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:33:39 2012 -0700 |
tree | fde995a5ebc027d32eb27fb1edbbd160ec228a98 | |
parent | 5254cbe795c3bb9ef28d61a474d707385fc87178 [diff] |
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>