RE: [PATCH 1/1] Polled input device: add device open and close methods
From: <hidden>
Date: 2009-10-15 05:51:51
From: <hidden>
Date: 2009-10-15 05:51:51
>input_dev *input)
quoted
if (error) return error; + if (dev->open) + dev->open(dev); + if (dev->flush) dev->flush(dev);Hmm... I think having both open and flush is overkill. My fault for not looking closer, I will kill the flush and convert existing users to open.
Good. So I can continue work with my drivers with an assumption that there are open and close methods available at some point. Samu