[PATCH v3 0/2] regulator: core: Fix error checking and messages

From: Geert Uytterhoeven
Date: Thu May 25 2023 - 07:14:10 EST

Hi all,

This patch series corrects an error check, fixes error messages when
debugfs is not enabled, and improves debugfs error handling in the
regulator core.

Changes compared to v2:
- Fix build after patch 1.

Changes compared to v1:
- Split in two patches,
- Improve rationale.

Thanks for your comments!

Geert Uytterhoeven (2):
regulator: core: Fix more error checking for debugfs_create_dir()
regulator: core: Streamline debugfs operations

drivers/regulator/core.c | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)




Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds