commit | ad7725cb43b8badb2fec2c2bfca07c067f2e19a7 | [log] [tgz] |
---|---|---|
author | Vasiliy Kulikov <[email protected]> | Sun Sep 19 16:55:01 2010 +0400 |
committer | Liam Girdwood <[email protected]> | Sat Oct 02 12:50:30 2010 +0100 |
tree | 16c7c2a6ec9605be409677eb1bf1993d208fd4be | |
parent | c6ea21e35bf3691cad59647c771e6606067f627d [diff] |
regulator: fix device_register() error handling If device_register() fails then call put_device(). See comment to device_register. Signed-off-by: Vasiliy Kulikov <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>