[PATCH 2/4] pwc: Add return code check at vb2_queue_init()

2012-09-17 Thread elezegarcia
From: Ezequiel Garcia This function returns an integer and it's mandatory to check the return code. Cc: Hans de Goede Signed-off-by: Ezequiel Garcia --- drivers/media/usb/pwc/pwc-if.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/usb/pwc/pwc-if.c b/

[PATCH] em28xx: Remove unused list_head struct for queued buffers

2012-04-28 Thread elezegarcia
From: Ezequiel Garcia The list_head struct usage was fully removed by commit d7aa80207babe694b316a48200b096cf0336ecb3. Signed-off-by: Ezequiel Garcia --- drivers/media/video/em28xx/em28xx-cards.c |2 -- drivers/media/video/em28xx/em28xx.h |1 - 2 files changed, 0 insertions(+), 3

[PATCH] em28xx: Make card_setup() and pre_card_setup() static

2012-04-28 Thread elezegarcia
From: Ezequiel Garcia This cleans namespace a bit by making em28xx_card_setup() em28xx_pre_card_setup() static functions. Signed-off-by: Ezequiel Garcia --- drivers/media/video/em28xx/em28xx-cards.c |6 -- drivers/media/video/em28xx/em28xx.h |2 -- 2 files changed, 4 insertio