linux/drivers/memory/tegra
Dan Carpenter c7c6570326 memory: tegra: Delete dead debugfs checking code
The debugfs_create_dir() function does not return NULL, it returns error
pointers.  But in normal situations like this where the caller is not
dereferencing "emc->debugfs.root" then we are not supposed to check the
return.  So instead of fixing these checks, we should delete them.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YMCQDTSyG8UuQoh0@mwanda
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
2021-06-10 09:18:15 +02:00
..
Kconfig memory: tegra: Enable compile testing for all drivers 2021-06-03 14:24:03 +02:00
Makefile memory: tegra: Split Tegra194 data into separate file 2021-06-03 21:49:41 +02:00
mc.c memory: tegra: Implement SID override programming 2021-06-03 21:50:43 +02:00
mc.h memory: tegra: Split Tegra194 data into separate file 2021-06-03 21:49:41 +02:00
tegra20-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra20.c memory: tegra: Parameterize interrupt handler 2021-06-03 21:49:41 +02:00
tegra30-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra30.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra114.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra124-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra124.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra186-emc.c memory: tegra186-emc: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE 2021-02-08 18:15:45 +01:00
tegra186.c memory: tegra: Implement SID override programming 2021-06-03 21:50:43 +02:00
tegra194.c memory: tegra: Split Tegra194 data into separate file 2021-06-03 21:49:41 +02:00
tegra210-emc-cc-r21021.c memory: tegra: Delete duplicated argument to '|' in function tegra210_emc_r21021_periodic_compensation 2020-09-09 09:00:22 +02:00
tegra210-emc-core.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra210-emc-table.c memory: tegra: Support derated timings on Tegra210 2020-06-22 13:54:57 +02:00
tegra210-emc.h memory: tegra: Drop <linux/clk-provider.h> 2020-06-22 13:54:58 +02:00
tegra210-mc.h memory: tegra: Add EMC scaling support code for Tegra210 2020-06-22 13:54:57 +02:00
tegra210.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00