linux/drivers/staging/media
Hans de Goede 797f91e641 [media] staging: atomisp: Do not call dev_warn with a NULL device
Do not call dev_warn with a NULL device, this silence the following 2
warnings:

[   14.392194] (NULL device *): Failed to find gmin variable gmin_V2P8GPIO
[   14.392257] (NULL device *): Failed to find gmin variable gmin_V1P8GPIO

We could switch to using pr_warn for dev == NULL instead, but as comments
in the source indicate, the check for these 2 special gmin variables with
a NULL device is a workaround for 2 specific evaluation boards, so
completely silencing the missing warning for these actually is a good
thing.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-07 12:47:17 -03:00
..
atomisp [media] staging: atomisp: Do not call dev_warn with a NULL device 2017-06-07 12:47:17 -03:00
bcm2048 [media] media: bcm2048: fix several macros 2017-04-10 14:44:08 -03:00
cxd2099 [media] staging: media: cxd2099: Fix checkpatch issues 2017-06-07 12:33:41 -03:00
davinci_vpfe Staging: media: Unmap and release region obtained by ioremap_nocache 2017-03-21 08:52:29 +01:00
lirc [media] staging: remove todo and replace with lirc_zilog todo 2017-06-06 09:18:08 -03:00
omap4iss [media] staging: media: omap4iss: Replace a bit shift by a use of BIT 2017-04-18 12:13:11 -03:00
Kconfig Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00
Makefile Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00