linux/drivers/staging/greybus
Greg Kroah-Hartman 00aaa6b138 staging: greybus: camera: no need to check debugfs return values
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.

Clean up the greybus camera driver by not caring about the value of
debugfs calls.  This ends up removing a number of lines of code that
are not needed.

Cc: Alex Elder <elder@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: greybus-dev@lists.linaro.org
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-01 10:47:43 +02:00
..
Documentation staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
tools vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
arche_platform.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
arche-apb-ctrl.c staging: greybus: arche-apb-ctrl.c: Fix alignment should match open parenthesis 2017-12-19 14:58:30 +01:00
arche-platform.c staging: greybus: Use gpio_is_valid() 2018-04-29 15:25:52 +02:00
arpc.h staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
audio_apbridgea.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_apbridgea.h staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
audio_codec.c staging: greybus: audio_codec.c: Prefer kernel type 'u32' over 'uint32_t' 2018-01-22 11:49:24 +01:00
audio_codec.h staging: greybus: Fix warning to limit chars per line 2018-04-23 15:39:08 +02:00
audio_gb.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_manager_module.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_manager_private.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_manager_sysfs.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_manager.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_manager.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_module.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
audio_topology.c staging: greybus: fix spelling mistake: "Inavlid" -> "Invalid" 2018-05-25 18:44:13 +02:00
authentication.c staging: greybus: authentication.c: Fix alignment should match open parenthesis 2018-01-22 11:48:06 +01:00
bootrom.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
bundle.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
bundle.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
camera.c staging: greybus: camera: no need to check debugfs return values 2018-06-01 10:47:43 +02:00
connection.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
connection.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
control.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
control.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
core.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
debugfs.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
es2.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
firmware.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
fw-core.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
fw-download.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
fw-management.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
gb-camera.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
gbphy.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
gbphy.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
gpio.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
greybus_authentication.h staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
greybus_firmware.h staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
greybus_id.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
greybus_manifest.h staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
greybus_protocols.h staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
greybus_trace.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
greybus.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
hd.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
hd.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
hid.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
i2c.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
interface.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
interface.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
Kconfig staging: greybus: enable compile testing of arche driver 2017-05-16 13:39:16 +02:00
light.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
log.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
loopback.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
manifest.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
manifest.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
module.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
module.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
operation.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
operation.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
power_supply.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
pwm.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
raw.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
sdio.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
spi.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
spilib.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
spilib.h staging: greybus: add SPDX identifiers to all greybus driver files 2017-11-11 14:46:20 +01:00
svc_watchdog.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
svc.c staging: greybus: Remove unused local variable 2018-05-06 19:11:23 -07:00
svc.h staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
TODO staging: greybus: Add TODO file with GPIO work items 2018-04-23 14:36:10 +02:00
uart.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
usb.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00
vibrator.c staging: greybus: Remove redundant license text 2017-11-11 14:46:21 +01:00