mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 10:26:55 +07:00
Merge remote-tracking branch 'regulator/topic/fan53555' into v3.9-rc8
This commit is contained in:
commit
5f19a85ba7
@ -219,9 +219,7 @@ static int fan53555_regulator_register(struct fan53555_device_info *di,
|
||||
rdesc->owner = THIS_MODULE;
|
||||
|
||||
di->rdev = regulator_register(&di->desc, config);
|
||||
if (IS_ERR(di->rdev))
|
||||
return PTR_ERR(di->rdev);
|
||||
return 0;
|
||||
return PTR_RET(di->rdev);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user