linux/drivers/memory
Dan Carpenter 69c0f5d0ed memory: emif: Remove bogus debugfs error handling
[ Upstream commit fd22781648 ]

Callers are generally not supposed to check the return values from
debugfs functions.  Debugfs functions never return NULL so this error
handling will never trigger.  (Historically debugfs functions used to
return a mix of NULL and error pointers but it was eventually deemed too
complicated for something which wasn't intended to be used in normal
situations).

Delete all the error handling.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Link: https://lore.kernel.org/r/20200826113759.GF393664@mwanda
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-05 11:08:45 +01:00
..
samsung
tegra
atmel-ebi.c
atmel-sdramc.c
brcmstb_dpfe.c
da8xx-ddrctl.c
emif-asm-offsets.c
emif.c memory: emif: Remove bogus debugfs error handling 2020-11-05 11:08:45 +01:00
emif.h
fsl_ifc.c
fsl-corenet-cf.c memory: fsl-corenet-cf: Fix handling of platform_get_irq() error 2020-10-30 10:38:24 +01:00
jz4780-nemc.c
Kconfig
Makefile
Makefile.asm-offsets
mtk-smi.c
mvebu-devbus.c
of_memory.c
of_memory.h
omap-gpmc.c memory: omap-gpmc: Fix build error without CONFIG_OF 2020-10-30 10:38:24 +01:00
pl172.c
ti-aemif.c
ti-emif-pm.c
ti-emif-sram-pm.S