diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 12:37:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 12:37:49 -0700 |
commit | fee5952fba478a395798c99531dc095e440a6ef0 (patch) | |
tree | 2cde217de843920c9709993e1a2d95eb4349d33a /drivers/video/udlfb.c | |
parent | 21f524321bde856b16fc55925282e41b4545a111 (diff) | |
download | blackbird-op-linux-fee5952fba478a395798c99531dc095e440a6ef0.tar.gz blackbird-op-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/video/udlfb.c')
-rw-r--r-- | drivers/video/udlfb.c | 2 |
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; } |