Hi Mike, On Tue, Jul 21, 2009 at 04:59:10PM +0300, Mike Rapoport wrote: > + > +static struct dev_pm_ops gpio_keys_pm_ops = { > + .suspend = gpio_keys_suspend, > + .resume = gpio_keys_resume, > +}; > This is not 100% equivalent conversion since we are now only handling s2r, not s2d.. My question though is whether we care or not... > static struct platform_driver gpio_keys_device_driver = { > .probe = gpio_keys_probe, > - .remove = __devexit_p(gpio_keys_remove), > - .suspend = gpio_keys_suspend, > .resume = gpio_keys_resume, > .driver = { > .name = "gpio-keys", > .owner = THIS_MODULE, > + .pm = &gpio_keys_pm_ops, > } > }; > -- 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