Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/for-linus' into regulator-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Nov 28, 2011
2 parents 9ee4be4 + 58fb5cf commit 12f457d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 12f457d

Please sign in to comment.