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

Commit 4b26706c authored by Georgiana Chelu's avatar Georgiana Chelu Committed by Greg Kroah-Hartman
Browse files

Staging: irda: net: Fix style issues



Fix minor coding style issues found by checkpatch.pl.

Signed-off-by: default avatarGeorgiana Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c8d2d20e
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -76,7 +76,8 @@ int __init irda_device_init( void)
	}

	/* We no longer initialise the driver ourselves here, we let
	 * the system do it for us... - Jean II */
	 * the system do it for us... - Jean II
	 */

	return 0;
}
@@ -84,6 +85,7 @@ int __init irda_device_init( void)
static void leftover_dongle(void *arg)
{
	struct dongle_reg *reg = arg;

	net_warn_ratelimited("IrDA: Dongle type %x not unregistered\n",
			     reg->type);
}
@@ -115,7 +117,8 @@ void irda_device_set_media_busy(struct net_device *dev, int status)
	 * The IrDA stack is protected from this in irlap_driver_rcv().
	 * However, the driver calls directly the wrapper, that calls
	 * us directly. Make sure we protect ourselves.
	 * Jean II */
	 * Jean II
	 */
	if (!self || self->magic != LAP_MAGIC)
		return;

@@ -133,7 +136,6 @@ void irda_device_set_media_busy(struct net_device *dev, int status)
}
EXPORT_SYMBOL(irda_device_set_media_busy);


/*
 * Function irda_device_is_receiving (dev)
 *