diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2015-10-21 15:50:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-25 02:08:16 (GMT) |
commit | edaa1e33e21ab38c683be0037605e3408f2a5a02 (patch) | |
tree | 6314c80d1f7e298821409e9781b67ee2b8a31b05 /drivers/staging/most/hdm-i2c/hdm_i2c.c | |
parent | c6c3f3458f456d53da0f2ed587a0227b8b950eda (diff) | |
download | linux-edaa1e33e21ab38c683be0037605e3408f2a5a02.tar.xz |
staging: most: make alignment match open parenthesis
This patch fixes coding style violations by making alignments match
open parenthesis.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/hdm-i2c/hdm_i2c.c')
-rw-r--r-- | drivers/staging/most/hdm-i2c/hdm_i2c.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/most/hdm-i2c/hdm_i2c.c b/drivers/staging/most/hdm-i2c/hdm_i2c.c index 8fe06ac..711fdbc 100644 --- a/drivers/staging/most/hdm-i2c/hdm_i2c.c +++ b/drivers/staging/most/hdm-i2c/hdm_i2c.c @@ -92,10 +92,9 @@ static int configure_channel(struct most_interface *most_iface, return -EPERM; } - if (channel_config->direction == MOST_CH_RX) { - if (dev->polling_mode) - schedule_delayed_work(&dev->rx.dwork, - msecs_to_jiffies(MSEC_PER_SEC / 4)); + if ((channel_config->direction == MOST_CH_RX) && (dev->polling_mode)) { + schedule_delayed_work(&dev->rx.dwork, + msecs_to_jiffies(MSEC_PER_SEC / 4)); } dev->is_open[ch_idx] = true; |