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