Thread (4 messages) flat view 4 messages, 3 authors, 2012-11-03

Re: [PATCH v3] input: pwm-beeper: Add devicetree probing support

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2012-11-03 19:03:07

Hi Sascha.

On Fri, Nov 02, 2012 at 09:44:02AM +0100, Sascha Hauer wrote:
 
-	beeper->pwm = pwm_request(pwm_id, "pwm beeper");
+	beeper->pwm = pwm_get(&pdev->dev, NULL);
+	if (IS_ERR(beeper->pwm)) {
+		dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n");
This is not an error, I'll switch it over to dev_dbg().

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help