Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e8d4e20 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

serial: Coding style



Coding style tweaks and printk levels.

Signed-off-by: default avatarAlan Cox <alan@redhat.com>

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6d4d67be
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -414,7 +414,8 @@ static int __devinit check_resources(struct pnp_option *option)
 */
static int __devinit serial_pnp_guess_board(struct pnp_dev *dev, int *flags)
{
	if (!(check_name(pnp_dev_name(dev)) || (dev->card && check_name(dev->card->name))))
	if (!(check_name(pnp_dev_name(dev)) ||
		(dev->card && check_name(dev->card->name))))
			return -ENODEV;

	if (check_resources(dev->independent))
@@ -452,7 +453,8 @@ serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
		return -ENODEV;

#ifdef SERIAL_DEBUG_PNP
	printk("Setup PNP port: port %x, mem 0x%lx, irq %d, type %d\n",
	printk(KERN_DEBUG
		"Setup PNP port: port %x, mem 0x%lx, irq %d, type %d\n",
		       port.iobase, port.mapbase, port.irq, port.iotype);
#endif

+1 −1

File changed.

Contains only whitespace changes.