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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux