[PATCH 6.1 084/591] regulator: core: Fix more error checking for debugfs_create_dir()