Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1683845
| From | Mitchell Tasman <tasman@leaflabs.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] staging: greybus: arche: wrap over-length lines |
| Date | 2017-07-09 23:30 +0200 |
| Message-ID | <u1rWa-4vq-39@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Adjust formatting of various statements to keep line length within
the 80 column limit preferred by the Linux kernel coding style.
Signed-off-by: Mitchell Tasman <tasman@leaflabs.com>
---
drivers/staging/greybus/arche-platform.c | 29 +++++++++++++++++++----------
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c
index eced2d2..c386c13 100644
--- a/drivers/staging/greybus/arche-platform.c
+++ b/drivers/staging/greybus/arche-platform.c
@@ -172,15 +172,21 @@ static irqreturn_t arche_platform_wd_irq(int irq, void *devid)
if (arche_pdata->wake_detect_state == WD_STATE_BOOT_INIT) {
if (time_before(jiffies,
arche_pdata->wake_detect_start +
- msecs_to_jiffies(WD_COLDBOOT_PULSE_WIDTH_MS))) {
- arche_platform_set_wake_detect_state(arche_pdata,
- WD_STATE_IDLE);
+ msecs_to_jiffies(
+ WD_COLDBOOT_PULSE_WIDTH_MS))) {
+ arche_platform_set_wake_detect_state(
+ arche_pdata,
+ WD_STATE_IDLE);
} else {
- /* Check we are not in middle of irq thread already */
+ /*
+ * Check we are not in middle of irq thread
+ * already
+ */
if (arche_pdata->wake_detect_state !=
WD_STATE_COLDBOOT_START) {
- arche_platform_set_wake_detect_state(arche_pdata,
- WD_STATE_COLDBOOT_TRIG);
+ arche_platform_set_wake_detect_state(
+ arche_pdata,
+ WD_STATE_COLDBOOT_TRIG);
spin_unlock_irqrestore(
&arche_pdata->wake_lock,
flags);
@@ -199,8 +205,9 @@ static irqreturn_t arche_platform_wd_irq(int irq, void *devid)
* beyond 30msec, then it is coldboot else fallback
* to standby boot.
*/
- arche_platform_set_wake_detect_state(arche_pdata,
- WD_STATE_BOOT_INIT);
+ arche_platform_set_wake_detect_state(
+ arche_pdata,
+ WD_STATE_BOOT_INIT);
}
}
@@ -657,12 +664,14 @@ static SIMPLE_DEV_PM_OPS(arche_platform_pm_ops,
arche_platform_resume);
static const struct of_device_id arche_platform_of_match[] = {
- { .compatible = "google,arche-platform", }, /* Use PID/VID of SVC device */
+ /* Use PID/VID of SVC device*/
+ { .compatible = "google,arche-platform", },
{ },
};
static const struct of_device_id arche_combined_id[] = {
- { .compatible = "google,arche-platform", }, /* Use PID/VID of SVC device */
+ /* Use PID/VID of SVC device */
+ { .compatible = "google,arche-platform", },
{ .compatible = "usbffff,2", },
{ },
};
--
2.9.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] staging: greybus: arche: wrap over-length lines Mitchell Tasman <tasman@leaflabs.com> - 2017-07-09 23:30 +0200
[PATCH v2] staging: greybus: arche: wrap over-length lines Mitchell Tasman <tasman@leaflabs.com> - 2017-07-10 02:30 +0200
Re: [greybus-dev] [PATCH v2] staging: greybus: arche: wrap over-length lines Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-10 06:50 +0200
Re: [greybus-dev] [PATCH v2] staging: greybus: arche: wrap over-length lines Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-10 11:40 +0200
Re: [greybus-dev] [PATCH v2] staging: greybus: arche: wrap over-length lines Joe Perches <joe@perches.com> - 2017-07-11 07:30 +0200
Re: [greybus-dev] [PATCH v2] staging: greybus: arche: wrap over-length lines Frans Klaver <fransklaver@gmail.com> - 2017-07-10 11:40 +0200
[PATCH v3] staging: greybus: arche: wrap over-length lines Mitchell Tasman <tasman@leaflabs.com> - 2017-07-11 05:20 +0200
Re: [greybus-dev] [PATCH v3] staging: greybus: arche: wrap over-length lines Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-11 05:30 +0200
csiph-web