Files
linux/drivers/regulator
Geert Uytterhoeven 6a241e6b9e regulator: core: Fix more error checking for debugfs_create_dir()
[ Upstream commit 2715bb11cf ]

In case of failure, debugfs_create_dir() does not return NULL, but an
error pointer.  Most incorrect error checks were fixed, but the one in
create_regulator() was forgotten.

Fix the remaining error check.

Fixes: 2bf1c45be3 ("regulator: Fix error checking for debugfs_create_dir")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/ee980a108b5854dd8ce3630f8f673e784e057d17.1685013051.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:06 +02:00
..
2023-04-06 12:10:46 +02:00
2022-08-16 12:46:26 +02:00
2020-05-08 18:18:13 +01:00
2022-03-07 13:15:01 +00:00
2022-03-07 13:15:01 +00:00