aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 15:37:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 15:37:49 -0400
commitfee5952fba478a395798c99531dc095e440a6ef0 (patch)
tree2cde217de843920c9709993e1a2d95eb4349d33a
parent21f524321bde856b16fc55925282e41b4545a111 (diff)
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>
-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,
1594 1594
1595 dev = kzalloc(sizeof(*dev), GFP_KERNEL); 1595 dev = kzalloc(sizeof(*dev), GFP_KERNEL);
1596 if (dev == NULL) { 1596 if (dev == NULL) {
1597 err("dlfb_usb_probe: failed alloc of dev struct\n"); 1597 dev_err(&interface->dev, "dlfb_usb_probe: failed alloc of dev struct\n");
1598 goto error; 1598 goto error;
1599 } 1599 }
1600 1600