mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 01:54:00 +00:00
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>
This commit is contained in:
parent
c6c3f3458f
commit
edaa1e33e2
@ -100,7 +100,7 @@ static int aim_open(struct inode *inode, struct file *filp)
|
||||
}
|
||||
|
||||
ret = most_start_channel(channel->iface, channel->channel_id,
|
||||
&cdev_aim);
|
||||
&cdev_aim);
|
||||
if (ret)
|
||||
atomic_dec(&channel->access_ref);
|
||||
return ret;
|
||||
|
@ -863,7 +863,7 @@ u8 DIM_ServiceChannel(struct dim_channel *ch)
|
||||
}
|
||||
|
||||
struct dim_ch_state_t *DIM_GetChannelState(struct dim_channel *ch,
|
||||
struct dim_ch_state_t *state_ptr)
|
||||
struct dim_ch_state_t *state_ptr)
|
||||
{
|
||||
if (!ch || !state_ptr)
|
||||
return NULL;
|
||||
|
@ -398,7 +398,7 @@ static void service_done_flag(struct dim2_hdm *dev, int ch_idx)
|
||||
}
|
||||
|
||||
static struct dim_channel **get_active_channels(struct dim2_hdm *dev,
|
||||
struct dim_channel **buffer)
|
||||
struct dim_channel **buffer)
|
||||
{
|
||||
int idx = 0;
|
||||
int ch_idx;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -247,8 +247,8 @@ static void most_channel_release(struct kobject *kobj)
|
||||
}
|
||||
|
||||
static ssize_t show_available_directions(struct most_c_obj *c,
|
||||
struct most_c_attr *attr,
|
||||
char *buf)
|
||||
struct most_c_attr *attr,
|
||||
char *buf)
|
||||
{
|
||||
unsigned int i = c->channel_id;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user