linux-sg2042/drivers/media/usb/tm6000
Markus Elfring 7e11d5027b media: tm6000: cleanup trival coding style issues
- Delete seven error messages for a failed memory allocation
- Adjust seven checks for null pointers
- Use common error handling code in tm6000_usb_probe()
- Adjust jump targets so that the function "kfree" will be always called
  with a non-null pointer.
- Delete an initialisation for the local variable "dev"
  which became unnecessary with this refactoring.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2017-10-27 14:07:48 +02:00
..
Kconfig
Makefile
tm6000-alsa.c media: usb: make snd_pcm_hardware const 2017-08-20 08:05:10 -04:00
tm6000-cards.c media: tm6000: cleanup trival coding style issues 2017-10-27 14:07:48 +02:00
tm6000-core.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tm6000-dvb.c media: tm6000: cleanup trival coding style issues 2017-10-27 14:07:48 +02:00
tm6000-i2c.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tm6000-input.c media: tm6000: cleanup trival coding style issues 2017-10-27 14:07:48 +02:00
tm6000-regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tm6000-stds.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tm6000-usb-isoc.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tm6000-video.c media: tm6000: cleanup trival coding style issues 2017-10-27 14:07:48 +02:00
tm6000.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00