Skip to content

Commit

Permalink
USB: udlfb.c: remove err() usage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Apr 25, 2012
1 parent 21f5243 commit fee5952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/udlfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fee5952

Please sign in to comment.