commit | 072b292d4a013a4f70c6966b3a754eff00ce3027 | [log] [tgz] |
---|---|---|
author | Mahesh Sivasubramanian <msivasub@codeaurora.org> | Tue Apr 16 15:36:54 2013 -0600 |
committer | Mahesh Sivasubramanian <msivasub@codeaurora.org> | Tue Apr 16 15:39:03 2013 -0600 |
tree | d481f598022f4027eefd83ab25a34e0b63246bdd | |
parent | 01d7f4ab5e17fa3642190c200fc5969495184610 [diff] |
msm: spm_devices: Initialize return error code If msm_spm_set_vdd() is called when a driver is uninitialized, then the function returns an uninitialized error code to the caller. Fix by initializing the error code to -ENODEV. Change-Id: I0da7c1459757158c69eddff58188b0b5859df17e Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>