summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 21:37:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 21:37:49 +0200
commitfee5952fba478a395798c99531dc095e440a6ef0 (patch)
tree2cde217de843920c9709993e1a2d95eb4349d33a /drivers
parentUSB: rtl8150.c: remove err() usage (diff)
downloadlinux-fee5952fba478a395798c99531dc095e440a6ef0.tar.xz
linux-fee5952fba478a395798c99531dc095e440a6ef0.zip
USB: udlfb.c: remove err() usage
err() was a very old USB-specific macro that I thought had gone away. This patch removes it from being used in the driver and uses dev_err() instead. CC: Bernie Thompson <bernie@plugable.com> CC: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/udlfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c
index a159b63e18b9..7af1e8166182 100644
--- a/drivers/video/udlfb.c
+++ b/drivers/video/udlfb.c
@@ -1594,7 +1594,7 @@ static int dlfb_usb_probe(struct usb_interface *interface,
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (dev == NULL) {
- err("dlfb_usb_probe: failed alloc of dev struct\n");
+ dev_err(&interface->dev, "dlfb_usb_probe: failed alloc of dev struct\n");
goto error;
}