commit | 38a94f4169e03494cbf850919b4b0a7e53e84bfd | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Wed Apr 17 13:32:57 2013 +0000 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Apr 22 00:35:53 2013 +0200 |
tree | ec8574a75cf249c0a38749369d6720dda7898f62 | |
parent | 0a4f841e9c473be84a1ed0c14f65058c29238ce1 [diff] |
SH: cpuidle: check error code at init Registering the driver, or the device, can fail, let's check the return code and return the error code to the PM layer. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>