diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-23 18:41:27 +0900 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-04-28 13:37:48 +0200 |
commit | c10d50631f29a1f09a0f3286e988877bd76733e3 (patch) | |
tree | 4e7adc0e6e9d41cc4c499580f1e19a4104ecf775 /drivers/pwm | |
parent | 474b69025d60a8c45ecd32f9ae422c7c1a86853e (diff) | |
download | op-kernel-dev-c10d50631f29a1f09a0f3286e988877bd76733e3.zip op-kernel-dev-c10d50631f29a1f09a0f3286e988877bd76733e3.tar.gz |
pwm: pwm-tiecap: Remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/pwm-tiecap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c index 032092c..74efbe7 100644 --- a/drivers/pwm/pwm-tiecap.c +++ b/drivers/pwm/pwm-tiecap.c @@ -209,10 +209,8 @@ static int ecap_pwm_probe(struct platform_device *pdev) u16 status; pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); - if (!pc) { - dev_err(&pdev->dev, "failed to allocate memory\n"); + if (!pc) return -ENOMEM; - } clk = devm_clk_get(&pdev->dev, "fck"); if (IS_ERR(clk)) { |