linux-stable/drivers/soc
Thierry Reding bae9fb2d39 soc/tegra: pmc: Simplify debugfs initialization
debugfs calls should generally not be error-checked to simplify the case
where debugfs is disabled. Since this driver is built-in and has the
sysfs bind/unbind attributes disabled, it cannot be unloaded, so there
is no need to hold onto a reference to the debugfs files that are
created.

We can further simplify this by moving the debugfs file creation to a
later stage to avoid any cleanup we might have to do during error unwind
operations. This is also a little cleaner because the debugfs file
relies on data structures that are created at a later point than when
the file was previously created.

Suggested-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2023-06-09 16:56:57 +02:00
..
actions
amlogic Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
apple modules-6.4-rc1 2023-04-27 16:36:55 -07:00
aspeed
atmel
bcm soc: bcm: brcmstb: biuctrl: fix of_iomap leak 2023-04-03 13:37:24 -07:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove
fsl sound updates for 6.4-rc1 2023-04-27 10:58:37 -07:00
fujitsu soc: fujitsu: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
gemini
imx soc: imx: imx8m-blk-ctrl: reordering the fields 2023-03-27 09:52:41 +08:00
ixp4xx
lantiq
litex
loongson
mediatek Devicetree updates for v6.4, part 2: 2023-04-27 10:09:05 -07:00
microchip soc: microchip: mpfs: add a prefix to rx_callback() 2023-04-03 20:32:43 +01:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa
qcom Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
renesas soc: renesas: renesas-soc: Release 'chipid' from ioremap() 2023-04-04 10:01:58 +02:00
rockchip
samsung
sifive
starfive soc: starfive: Add StarFive JH71XX pmu driver 2023-01-20 21:55:59 +00:00
sunxi kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules 2023-03-14 21:39:11 +01:00
tegra soc/tegra: pmc: Simplify debugfs initialization 2023-06-09 16:56:57 +02:00
ti soc: ti: smartreflex: Simplify getting the opam_sr pointer 2023-04-14 18:03:06 +02:00
ux500
versatile
xilinx
Kconfig soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
Makefile soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00