diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-27 07:08:39 -0700 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-27 07:08:39 -0700 | 
| commit | 9db48aaf18d675ac41f550c9384154e0c00de2ef (patch) | |
| tree | 70a19b9164c103e5f52dddff609e01672f8ef616 /drivers/base/power/common.c | |
| parent | 0592969e73ae50ce6852d1aff3d222a335289094 (diff) | |
| parent | fea7a08acb13524b47711625eebea40a0ede69a0 (diff) | |
| download | olio-linux-3.10-9db48aaf18d675ac41f550c9384154e0c00de2ef.tar.xz olio-linux-3.10-9db48aaf18d675ac41f550c9384154e0c00de2ef.zip  | |
Merge 3.6-rc3 into driver-core-next
This picks up the printk fixes in 3.6-rc3 that are needed in this branch.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/power/common.c')
| -rw-r--r-- | drivers/base/power/common.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/base/power/common.c b/drivers/base/power/common.c index a14085cc613..39c32529b83 100644 --- a/drivers/base/power/common.c +++ b/drivers/base/power/common.c @@ -24,7 +24,6 @@  int dev_pm_get_subsys_data(struct device *dev)  {  	struct pm_subsys_data *psd; -	int ret = 0;  	psd = kzalloc(sizeof(*psd), GFP_KERNEL);  	if (!psd) @@ -40,7 +39,6 @@ int dev_pm_get_subsys_data(struct device *dev)  		dev->power.subsys_data = psd;  		pm_clk_init(dev);  		psd = NULL; -		ret = 1;  	}  	spin_unlock_irq(&dev->power.lock); @@ -48,7 +46,7 @@ int dev_pm_get_subsys_data(struct device *dev)  	/* kfree() verifies that its argument is nonzero. */  	kfree(psd); -	return ret; +	return 0;  }  EXPORT_SYMBOL_GPL(dev_pm_get_subsys_data);  |