android_kernel_sony_sdm845/drivers/memory
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter 158c1bbb57 memory: emif: Remove bogus debugfs error handling
[ Upstream commit fd22781648080cc400772b3c68aa6b059d2d5420 ]

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-10 10:23:55 +01:00
..
samsung memory: samsung: exynos-srom: Fix wrong count of registers 2016-07-06 08:16:56 +02:00
tegra memory: tegra: Fix integer overflow on tick value calculation 2019-05-25 18:26:49 +02:00
atmel-ebi.c memory/atmel-ebi: Fix ns <-> cycles conversions 2017-03-15 10:02:45 +08:00
atmel-sdramc.c memory: atmel-sdramc: fix a possible NULL dereference 2016-08-31 19:19:16 +02:00
emif.c memory: emif: Remove bogus debugfs error handling 2020-11-10 10:23:55 +01:00
emif.h
fsl-corenet-cf.c memory: fsl-corenet-cf: Fix handling of platform_get_irq() error 2020-10-29 09:05:40 +01:00
fsl_ifc.c memory: Update dependency of IFC for Layerscape 2016-07-13 17:31:10 -07:00
jz4780-nemc.c
Kconfig MTD updates for v4.8: 2016-08-02 17:05:11 -04:00
Makefile memory: add Atmel EBI (External Bus Interface) driver 2016-06-02 08:32:25 +02:00
mtk-smi.c memory/mediatek: add support for mt2701 2016-06-21 11:36:19 +02:00
mvebu-devbus.c
of_memory.c fix:memory:of_memory:add missing header dependencies 2016-08-31 15:21:18 +02:00
of_memory.h
omap-gpmc.c memory: omap-gpmc: Fix a couple off by ones 2020-10-29 09:05:40 +01:00
pl172.c memory: pl172: add ARM PrimeCell PL176 MPMC support 2015-09-29 22:19:02 +02:00
tegra20-mc.c
ti-aemif.c memory: ti-aemif: Fix module autoload for OF platform driver 2015-10-05 04:44:11 +01:00