mtdev_close_delete() is to mtdev_new_open() as mtdev_close() is to
mtdev_open(). So, since we're using mtdev_new_open(), we need to use
mtdev_close_delete() instead of just mtdev_close() to actually free
everything.
Fixes an eventual failure to open the touchpad device after a lot of
suspend/resu
On Fri, Dec 28, 2012 at 3:50 AM, Daniel Stone wrote:
> Hi,
>
>
> On 28 December 2012 01:08, Maarten Maathuis wrote:
>>
>> As far as i remember you typically allocate a shadow (there are some
>> driver hooks for that, check existing drivers like intel, radeon or
>> nouveau). This will become the n