From: H Hartley Sweeten Date: Mon, 8 Apr 2013 17:55:29 +0000 (-0700) Subject: staging: comedi: drivers: set dev->board_name before attaching X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b68400ee3aabda0cd0c951fca3b8e6fd96c015;p=pandora-kernel.git staging: comedi: drivers: set dev->board_name before attaching The comedi (*attach) and (*auto_attach) functions are used to attach legacy and PnP type devices to the comedi subsystem. If we can set the dev->board_name before doing the attach, the drivers will not have to worry about doing it. Drivers that do additional probing can still change the dev->board_name if necessary. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed