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 memory: samsung: Add SPDX license identifiers 2018-02-12 19:55:34 +01:00
tegra memory: tegra: Don't invoke Tegra30+ specific memory timing setup on Tegra20 2020-01-27 14:50:13 +01:00
atmel-ebi.c ARM: SoC driver updates for v4.14 2017-09-10 20:40:00 -07:00
atmel-sdramc.c memory: atmel-sdramc: use builtin_platform_driver to simplify the code 2016-10-20 11:59:57 +02:00
brcmstb_dpfe.c memory: brcmstb: dpfe: Remove need for dpfe_dev 2018-05-09 12:15:26 -07:00
da8xx-ddrctl.c memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name() 2016-11-23 20:26:42 +05:30
emif-asm-offsets.c ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
emif.c memory: emif: Remove bogus debugfs error handling 2020-11-05 11:08:45 +01:00
emif.h memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00
fsl_ifc.c memory: Update dependency of IFC for Layerscape 2016-07-13 17:31:10 -07:00
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 memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
Kconfig drivers/memory/Kconfig: Add CONFIG_OF dependency 2018-07-31 09:46:06 +02:00
Makefile memory: tegra: Squash tegra20-mc into common tegra-mc driver 2018-04-30 10:10:00 +02:00
Makefile.asm-offsets memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00
mtk-smi.c memory: mtk-smi: Degrade SMI init to module_init 2017-08-22 16:38:00 +02:00
mvebu-devbus.c memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
of_memory.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
of_memory.h memory: fix build when CONFIG_OF && !CONFIG_DDR 2012-09-05 11:57:19 -07:00
omap-gpmc.c memory: omap-gpmc: Fix build error without CONFIG_OF 2020-10-30 10:38:24 +01:00
pl172.c memory: pl172: add ARM PrimeCell PL176 MPMC support 2015-09-29 22:19:02 +02:00
ti-aemif.c memory: ti-aemif: fix a potential NULL-pointer dereference 2018-09-06 10:04:07 -07:00
ti-emif-pm.c memory: ti-emif-sram: Add resume function to recopy sram code 2018-06-26 10:05:17 -07:00
ti-emif-sram-pm.S memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00