[media] staging/media/solo6x10: Use PTR_RET rather than if(IS_ERR(...)) + PTR_ERR
authorPeter Huewe <PeterHuewe@gmx.de>
Fri, 25 Jan 2013 22:10:12 +0000 (19:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 15:02:50 +0000 (13:02 -0200)
commit7d0ee461fd173fea8ca254924263f189a3f0dc08
tree5d792c551efce8398a9b054f8f53b912e16d1578
parentc2668c082ac1b4f30b145762a75ec2b3e016b952
[media] staging/media/solo6x10: Use PTR_RET rather than if(IS_ERR(...)) + PTR_ERR

Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/ptr_ret.cocci.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/solo6x10/v4l2.c