linux/drivers/media
Jinjie Ruan 32ec99f872 media: aspeed: Drop unnecessary error check for debugfs_create_file()
debugfs_create_file() return ERR_PTR and never return NULL.

When calling debugfs functions, there is no need to ever check the
return value. The function can work or not, but the code logic should
never do something different based on this.

Fixes: 52fed10ad7 ("media: aspeed: add debugfs")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-10-13 11:33:22 +02:00
..
cec media: platform: cros-ec: Add Taranza to the match table 2023-10-07 10:55:46 +02:00
common media: videobuf2: Fix IS_ERR checking in vb2_vmalloc_put_userptr() 2023-10-13 11:33:22 +02:00
dvb-core lib/math: Move dvb_math.c into lib/math/int_log.c 2023-07-09 22:47:48 +01:00
dvb-frontends media: dvb-frontends: drop check because i2c_unregister_device() is NULL safe 2023-10-07 10:55:46 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: adp1653: don't reuse the same node pointer 2023-10-12 10:12:54 +02:00
mc media: mc: Check pad flag validity 2023-10-07 10:55:48 +02:00
mmc
pci media: pci: cx18: if cx == NULL, then don't use it. 2023-10-13 11:33:22 +02:00
platform media: aspeed: Drop unnecessary error check for debugfs_create_file() 2023-10-13 11:33:22 +02:00
radio media: radio-si476x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
rc media: lirc: drop trailing space from scancode transmit 2023-10-11 16:26:16 +02:00
spi
test-drivers media: vidtv: mux: Add check and kfree for kstrdup 2023-10-07 10:55:45 +02:00
tuners media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
usb media: dvb-usb-v2: af9035: fix missing unlock 2023-10-13 11:33:21 +02:00
v4l2-core media: v4l: subdev: Print debug information on frame descriptor 2023-10-07 10:55:48 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile