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

Commit 16be5725 authored by csanchez@neurowork.net's avatar csanchez@neurowork.net Committed by Greg Kroah-Hartman
Browse files

USB: core driver: Fix Coding Styles



Fixed coding styles in the core usb driver.

Signed-off-by: default avatarCarlos Sánchez Acosta <csanchez@neurowork.net>
Signed-off-by: default avatarAlejandro Sánchez Acosta <asanchez@neurowork.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e9c64f2b
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -1742,10 +1742,9 @@ static int usb_runtime_suspend(struct device *dev)
		}
		}


		/* Prevent the parent from suspending immediately after */
		/* Prevent the parent from suspending immediately after */
		else if (udev->parent) {
		else if (udev->parent)
			udev->parent->last_busy = jiffies;
			udev->parent->last_busy = jiffies;
	}
	}
	}


	/* Runtime suspend for a USB interface doesn't mean anything. */
	/* Runtime suspend for a USB interface doesn't mean anything. */
	return status;
	return status;
@@ -1786,7 +1785,7 @@ static int usb_runtime_idle(struct device *dev)
	return 0;
	return 0;
}
}


static struct dev_pm_ops usb_bus_pm_ops = {
static const struct dev_pm_ops usb_bus_pm_ops = {
	.runtime_suspend =	usb_runtime_suspend,
	.runtime_suspend =	usb_runtime_suspend,
	.runtime_resume =	usb_runtime_resume,
	.runtime_resume =	usb_runtime_resume,
	.runtime_idle =		usb_runtime_idle,
	.runtime_idle =		usb_runtime_idle,
@@ -1794,7 +1793,7 @@ static struct dev_pm_ops usb_bus_pm_ops = {


#else
#else


#define usb_bus_pm_ops	(*(struct dev_pm_ops *) NULL)
#define usb_bus_pm_ops	(*(const struct dev_pm_ops *) NULL)


#endif /* CONFIG_USB_SUSPEND */
#endif /* CONFIG_USB_SUSPEND */