From: H Hartley Sweeten Date: Tue, 9 Apr 2013 01:15:46 +0000 (-0700) Subject: staging: comedi: rti800: cleanup dev->board_name usage X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~207 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b2234df5e2ec3fbb206fc4442099faf5859a177;p=pandora-kernel.git staging: comedi: rti800: cleanup dev->board_name usage The comedi core initializes the dev->board_name before calling the driver (*attach) function. There is not reason to reinitialize it in the driver. Use the dev->board_name when doing the request_{region,irq}() instead of the open-coded string. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed