aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-23 05:41:27 -0400
committerThierry Reding <thierry.reding@gmail.com>2014-04-28 07:37:48 -0400
commitc10d50631f29a1f09a0f3286e988877bd76733e3 (patch)
tree4e7adc0e6e9d41cc4c499580f1e19a4104ecf775 /drivers/pwm
parent474b69025d60a8c45ecd32f9ae422c7c1a86853e (diff)
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c
index 032092c7a6ae..74efbe7f20c3 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)
209 u16 status; 209 u16 status;
210 210
211 pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); 211 pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL);
212 if (!pc) { 212 if (!pc)
213 dev_err(&pdev->dev, "failed to allocate memory\n");
214 return -ENOMEM; 213 return -ENOMEM;
215 }
216 214
217 clk = devm_clk_get(&pdev->dev, "fck"); 215 clk = devm_clk_get(&pdev->dev, "fck");
218 if (IS_ERR(clk)) { 216 if (IS_ERR(clk)) {