From: Dan Carpenter Date: Sat, 26 May 2012 12:14:45 +0000 (+0300) Subject: staging: comedi: cleanup comedi_recognize() X-Git-Tag: v3.6-rc1~100^2~1022 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9de58acc06cba56b5f1bd17a5a74a66427f8b1;p=pandora-kernel.git 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 Cc: Ian Abbott Cc: Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed