diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-18 01:50:08 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-08-07 07:14:33 -0400 |
commit | ed1a819a3fdbde279f3ca18e2268cc12666e9bf1 (patch) | |
tree | 6ab88cea9afe2ba2350bd24792288d9d0ed4bff8 | |
parent | eae266a284f370d40c50dbed7a988a744bab0d44 (diff) |
pwm: pwm-tipwmss: remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message. The following
checkpatch warning is also removed.
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r-- | drivers/pwm/pwm-tipwmss.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-tipwmss.c b/drivers/pwm/pwm-tipwmss.c index 3b119bc2c3c6..67481dc6da3f 100644 --- a/drivers/pwm/pwm-tipwmss.c +++ b/drivers/pwm/pwm-tipwmss.c | |||
@@ -62,10 +62,8 @@ static int pwmss_probe(struct platform_device *pdev) | |||
62 | struct device_node *node = pdev->dev.of_node; | 62 | struct device_node *node = pdev->dev.of_node; |
63 | 63 | ||
64 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); | 64 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); |
65 | if (!info) { | 65 | if (!info) |
66 | dev_err(&pdev->dev, "failed to allocate memory\n"); | ||
67 | return -ENOMEM; | 66 | return -ENOMEM; |
68 | } | ||
69 | 67 | ||
70 | mutex_init(&info->pwmss_lock); | 68 | mutex_init(&info->pwmss_lock); |
71 | 69 | ||