On Sat, Mar 10, 2018 at 8:15 PM, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > + while (--i >= 0) { Just in case while (i--) { is slightly better to read. > + bdata = &ddata->data[i]; > + if (bdata->button->wakeup) > + gpio_keys_button_disable_wakeup(bdata); > + bdata->suspended = false; > + } -- With Best Regards, Andy Shevchenko -- 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