regulator: core: fix debugfs file creation

Fix debugfs file creation for the regulators that are being
registered before their supplies.

CRs-Fixed: 2155219
Change-Id: I7ce85b8c3706601f33d1e25fd5b16f11a6f05ad2
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
1 file changed