aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/as102/as102_usb_drv.c
Commit message (Collapse)AuthorAge
* media: usb: as102: as102_usb_drv: don't print error when allocating urb failsWolfram Sang2016-08-30
| | | | | | | kmalloc will print enough information in case of failure. Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* [media] drivers/media/usb/as102: constify as102_priv_ops_t structureJulia Lawall2016-02-01
| | | | | | | | | | | The as102_priv_ops_t structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
* [media] as102: remove some unneeded checksDan Carpenter2014-09-23
| | | | | | | | | | | | | We know "ret" is zero so we don't need to test for it. It upsets the static checkers when we test stuff but we know the answer. drivers/media/usb/as102/as102_usb_drv.c:164 as102_send_ep1() warn: we tested 'ret' before and it was 'false' drivers/media/usb/as102/as102_usb_drv.c:189 as102_read_ep2() warn: we tested 'ret' before and it was 'false' Also, we don't need to initialize "ret". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
* [media] as102: get rid of FSF mail addressMauro Carvalho Chehab2014-08-21
| | | | | | | | Make checkpatch happier by removing FSF mail address. No functional changes. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
* [media] as102: promote it out of stagingMauro Carvalho Chehab2014-08-21
This driver is stable and doesn't contain any really serious issue. Move it out of staging. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>