dect
/
linux-2.6
Archived
13
0
Fork 0

Merge remote-tracking branch 'regulator/for-linus' into regulator-next

This commit is contained in:
Mark Brown 2011-11-28 14:50:45 +00:00
commit 12f457dd78
1 changed files with 1 additions and 1 deletions

View File

@ -2856,8 +2856,8 @@ void regulator_unregister(struct regulator_dev *rdev)
list_del(&rdev->list);
if (rdev->supply)
regulator_put(rdev->supply);
device_unregister(&rdev->dev);
kfree(rdev->constraints);
device_unregister(&rdev->dev);
mutex_unlock(&regulator_list_mutex);
}
EXPORT_SYMBOL_GPL(regulator_unregister);