Merge "soc: qcom: gladiator_erp_v2: initialize return value"
This commit is contained in:
commit
99295a318f
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ static int gladiator_erp_pm_callback(struct notifier_block *nb,
|
||||||
|
|
||||||
static int gladiator_erp_v2_probe(struct platform_device *pdev)
|
static int gladiator_erp_v2_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = -1;
|
||||||
struct msm_gladiator_data *msm_gld_data;
|
struct msm_gladiator_data *msm_gld_data;
|
||||||
|
|
||||||
msm_gld_data = devm_kzalloc(&pdev->dev,
|
msm_gld_data = devm_kzalloc(&pdev->dev,
|
||||||
|
|
Loading…
Add table
Reference in a new issue