From: H Hartley Sweeten Date: Thu, 25 Oct 2012 22:06:02 +0000 (-0700) Subject: staging: comedi: me_daq: cleanup ioremap of PCI bar 2 X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~939 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c4cbe94c3ce0a643ad57f68cafae88249c03a1;p=pandora-kernel.git staging: comedi: me_daq: cleanup ioremap of PCI bar 2 PCI bar 2 is the main i/o address for this driver. Currently the pci_resource_len of the bar is stored in the private data but it is never used. Remove 'me_regbase_size' from the private data. Also, remove the local variables used for the pci_resource_start and _len. Just pass the values directly to the ioremap(). Remove the kernel noise when the ioremap fails. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed