commit | c0a13aa6da5da19f9eedb562b226ec585aabdca9 | [log] [tgz] |
---|---|---|
author | Vince Hsu <vinceh@nvidia.com> | Mon Jul 13 13:39:39 2015 +0100 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Mon Nov 16 09:23:47 2015 +0100 |
tree | 1844fe1a0250625d91020fa855fc7af8f16d76b0 | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec [diff] |
reset: add of_reset_control_get_by_index() Add of_reset_control_get_by_index() to allow the drivers to get reset device without knowing its name. Signed-off-by: Vince Hsu <vinceh@nvidia.com> [jonathanh@nvidia.com: Updated stub function to return -ENOTSUPP instead of -ENOSYS which should only be used for system calls.] Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>