commit | 46c58127ad544fda69cdab377ca4cb304c61202d | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Apr 08 10:56:20 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 08 11:39:19 2013 -0700 |
tree | 24b9a8f22c8d6a1283be7bd7f82d0f0a01594ae7 | |
parent | ae5dd5fcab2d9978e1a0a900a8598b4d92f02657 [diff] |
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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>