drivers/misc/phantom.c: add missing warning messages in phantom_probe()
authorRahul Ruikar <rahul.ruikar@gmail.com>
Tue, 26 Oct 2010 21:22:35 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:14 +0000 (16:52 -0700)
commit10ad5278bbc961c9df8260f3e116d60eaaa3fb18
treee1c1b0294512fa9bc1000078c33a9d35fe86d5a6
parentca1cab37d91cbe8a8333732540d43cabb54cfa85
drivers/misc/phantom.c: add missing warning messages in phantom_probe()

phantom_probe() can fail in many places.  Add missing warning messages in
pci_enable_device() and pci_request_regions().

Signed-off-by: Rahul Ruikar <rahul.ruikar@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/phantom.c