You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
Revert "regulator: core: Ensure debugfs is fully initialized"
This reverts commit 175fb4a3cc.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -1924,8 +1924,6 @@ static struct regulator *create_regulator(struct regulator_dev *rdev,
|
||||
|
||||
if (err != -EEXIST)
|
||||
regulator->debugfs = debugfs_create_dir(supply_name, rdev->debugfs);
|
||||
else
|
||||
regulator->debugfs = ERR_PTR(err);
|
||||
if (IS_ERR(regulator->debugfs))
|
||||
rdev_dbg(rdev, "Failed to create debugfs directory\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user