diff options
| author | 2023-05-25 13:13:58 +0200 | |
|---|---|---|
| committer | 2023-05-25 12:15:40 +0100 | |
| commit | 2715bb11cfff964aa33946847f9527cfbd4874f5 (patch) | |
| tree | 1e1d164f34c483a6e13affd41c575e0e2779a98b /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | regulator: Merge up fixes (diff) | |
regulator: core: Fix more error checking for debugfs_create_dir()
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: 2bf1c45be3b8f3a3 ("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>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
