From: H Hartley Sweeten Date: Tue, 9 Apr 2013 23:18:00 +0000 (-0700) Subject: staging: comedi: dt2811: cleanup dev->board_name usage X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3871a752ec5695d84dd9d24d55daed3b72023268;p=pandora-kernel.git staging: comedi: dt2811: 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 and use it when requesting the resources instead of the open-coded strings. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed