* [PATCH] Staging: media: Add newline after variable declarations
@ 2015-02-19 22:23 Vatika Harlalka
2015-02-26 18:54 ` [Outreachy kernel] " Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Vatika Harlalka @ 2015-02-19 22:23 UTC (permalink / raw)
To: outreachy-kernel
This patch is to add a newline after variable declarations
to follow kernel coding conventions.
Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
---
drivers/staging/media/tlg2300/pd-alsa.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/media/tlg2300/pd-alsa.c b/drivers/staging/media/tlg2300/pd-alsa.c
index 7a07a1d..00b329e 100644
--- a/drivers/staging/media/tlg2300/pd-alsa.c
+++ b/drivers/staging/media/tlg2300/pd-alsa.c
@@ -254,6 +254,7 @@ snd_pd_capture_pointer(struct snd_pcm_substream *substream)
{
struct poseidon *p = snd_pcm_substream_chip(substream);
struct poseidon_audio *pa = &p->audio;
+
return pa->rcv_position;
}
@@ -261,6 +262,7 @@ static struct page *snd_pcm_pd_get_page(struct snd_pcm_substream *subs,
unsigned long offset)
{
void *pageptr = subs->runtime->dma_area + offset;
+
return vmalloc_to_page(pageptr);
}
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-26 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 22:23 [PATCH] Staging: media: Add newline after variable declarations Vatika Harlalka
2015-02-26 18:54 ` [Outreachy kernel] " Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.