From: H Hartley Sweeten Date: Mon, 8 Apr 2013 21:29:47 +0000 (-0700) Subject: staging: comedi: acl7225b: cleanup dev->board_name usage X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ffb0a85763957983c260f5f08c250d45d1d4449;p=pandora-kernel.git staging: comedi: acl7225b: 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_resource() 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