Commit f8b053e3 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Greg Kroah-Hartman

staging: android: properly align function arguments

Fix alingment issues by properly indenting function arguments
in accordance with the kernel coding style.
Signed-off-by: default avatarIoana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36f16ff2
...@@ -105,8 +105,8 @@ static unsigned long lowmem_scan(struct shrinker *s, struct shrink_control *sc) ...@@ -105,8 +105,8 @@ static unsigned long lowmem_scan(struct shrinker *s, struct shrink_control *sc)
} }
lowmem_print(3, "lowmem_scan %lu, %x, ofree %d %d, ma %hd\n", lowmem_print(3, "lowmem_scan %lu, %x, ofree %d %d, ma %hd\n",
sc->nr_to_scan, sc->gfp_mask, other_free, sc->nr_to_scan, sc->gfp_mask, other_free,
other_file, min_score_adj); other_file, min_score_adj);
if (min_score_adj == OOM_SCORE_ADJ_MAX + 1) { if (min_score_adj == OOM_SCORE_ADJ_MAX + 1) {
lowmem_print(5, "lowmem_scan %lu, %x, return 0\n", lowmem_print(5, "lowmem_scan %lu, %x, return 0\n",
......
...@@ -313,7 +313,7 @@ struct sync_fence *sync_fence_merge(const char *name, ...@@ -313,7 +313,7 @@ struct sync_fence *sync_fence_merge(const char *name,
EXPORT_SYMBOL(sync_fence_merge); EXPORT_SYMBOL(sync_fence_merge);
int sync_fence_wake_up_wq(wait_queue_t *curr, unsigned mode, int sync_fence_wake_up_wq(wait_queue_t *curr, unsigned mode,
int wake_flags, void *key) int wake_flags, void *key)
{ {
struct sync_fence_waiter *wait; struct sync_fence_waiter *wait;
...@@ -353,7 +353,7 @@ int sync_fence_wait_async(struct sync_fence *fence, ...@@ -353,7 +353,7 @@ int sync_fence_wait_async(struct sync_fence *fence,
EXPORT_SYMBOL(sync_fence_wait_async); EXPORT_SYMBOL(sync_fence_wait_async);
int sync_fence_cancel_async(struct sync_fence *fence, int sync_fence_cancel_async(struct sync_fence *fence,
struct sync_fence_waiter *waiter) struct sync_fence_waiter *waiter)
{ {
unsigned long flags; unsigned long flags;
int ret = 0; int ret = 0;
......
...@@ -76,8 +76,8 @@ static void gpio_enable(struct timed_output_dev *dev, int value) ...@@ -76,8 +76,8 @@ static void gpio_enable(struct timed_output_dev *dev, int value)
value = data->max_timeout; value = data->max_timeout;
hrtimer_start(&data->timer, hrtimer_start(&data->timer,
ktime_set(value / 1000, (value % 1000) * 1000000), ktime_set(value / 1000, (value % 1000) * 1000000),
HRTIMER_MODE_REL); HRTIMER_MODE_REL);
} }
spin_unlock_irqrestore(&data->lock, flags); spin_unlock_irqrestore(&data->lock, flags);
...@@ -94,8 +94,8 @@ static int timed_gpio_probe(struct platform_device *pdev) ...@@ -94,8 +94,8 @@ static int timed_gpio_probe(struct platform_device *pdev)
return -EBUSY; return -EBUSY;
gpio_data = devm_kzalloc(&pdev->dev, gpio_data = devm_kzalloc(&pdev->dev,
sizeof(struct timed_gpio_data) * pdata->num_gpios, sizeof(*gpio_data) * pdata->num_gpios,
GFP_KERNEL); GFP_KERNEL);
if (!gpio_data) if (!gpio_data)
return -ENOMEM; return -ENOMEM;
...@@ -104,7 +104,7 @@ static int timed_gpio_probe(struct platform_device *pdev) ...@@ -104,7 +104,7 @@ static int timed_gpio_probe(struct platform_device *pdev)
gpio_dat = &gpio_data[i]; gpio_dat = &gpio_data[i];
hrtimer_init(&gpio_dat->timer, CLOCK_MONOTONIC, hrtimer_init(&gpio_dat->timer, CLOCK_MONOTONIC,
HRTIMER_MODE_REL); HRTIMER_MODE_REL);
gpio_dat->timer.function = gpio_timer_func; gpio_dat->timer.function = gpio_timer_func;
spin_lock_init(&gpio_dat->lock); spin_lock_init(&gpio_dat->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment