On Thu, Jan 29, 2015 at 12:10:18PM +0100, Sylvain Rochet wrote: > This patch add wake up support for rotary encoders. > > Signed-off-by: Sylvain Rochet <sylvain.rochet@xxxxxxxxxxxx> > @@ -306,6 +311,8 @@ static int rotary_encoder_remove(struct platform_device *pdev) > struct rotary_encoder *encoder = platform_get_drvdata(pdev); > const struct rotary_encoder_platform_data *pdata = encoder->pdata; > > + device_init_wakeup(&pdev->dev, 0); > + Perhaps you should use false rather than 0 here for consistency. Looks good otherwise, so feel free to add my Reviewed-by: Johan Hovold <johan@xxxxxxxxxx> If you resend, you could split the device-tree binding documentation in a separate patch that you CC the devicetree list in order to get an ack for the property name. Johan -- 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