From: H Hartley Sweeten Date: Thu, 9 Aug 2012 21:51:51 +0000 (-0700) Subject: staging: comedi: adl_pci6208: use the 'board_name' for the resource name X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~1001 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf05ddb0d7c5612ee70f250f22427462d820fe1;p=pandora-kernel.git staging: comedi: adl_pci6208: use the 'board_name' for the resource name Use the 'dev->board_name' instead of the 'dev->driver->driver_name' as the resource name used when requesing the pci regions in comedi_pci_enable(). The board_name has a closer affinity to the card. Also, remove the dev_err() message when comedi_pci_enable() fails. It's just noise and doesn't actually tell the real reason why the call failed. It could have failed either the pci_enable_device() or the pci_request_regions(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed