Revert "battery: sm5451_charger: fix build on 5.10"
This reverts commit 27515e820a
.
This commit is contained in:
parent
daf8bac97c
commit
bfc9dbe311
1 changed files with 3 additions and 3 deletions
|
@ -1507,9 +1507,9 @@ static int sm5451_create_debugfs_entries(struct sm5451_charger *sm5451)
|
|||
return -ENOENT;
|
||||
}
|
||||
|
||||
debugfs_create_x32("address", S_IFREG | S_IWUSR | S_IRUGO,
|
||||
ent = debugfs_create_x32("address", S_IFREG | S_IWUSR | S_IRUGO,
|
||||
sm5451->debug_root, &(sm5451->debug_address));
|
||||
if (!sm5451->debug_address) {
|
||||
if (!ent) {
|
||||
dev_err(sm5451->dev, "%s: can't create address\n", __func__);
|
||||
return -ENOENT;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue