RE: [PATCH 1/1] Polled input device: add device open and close methods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 >input_dev *input)
>>  	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

--
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

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux