From: H Hartley Sweeten Date: Tue, 9 Apr 2013 23:07:16 +0000 (-0700) Subject: staging: comedi: pcl724: cleanup dev->board_name usage X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70c2b6d08d2b959597bdeb22577d51396794ad0;p=pandora-kernel.git staging: comedi: pcl724: 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