From: H Hartley Sweeten Date: Mon, 8 Apr 2013 17:56:20 +0000 (-0700) Subject: staging: comedi: comedi_pci: dev->board_name is always valid X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46c58127ad544fda69cdab377ca4cb304c61202d;p=pandora-kernel.git staging: comedi: comedi_pci: dev->board_name is always valid The dev->board_name is always initialized before calling the(*attach) or (*auto_attach) function. It's no longer necessary to validate the pointer in comedi_pci_enable(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed