Re: [PATCH] Input: ad714x: Convert to using managed resources

2015-09-13 Thread Vaishali Thakkar
On Sun, Sep 13, 2015 at 12:31 PM, Dmitry Torokhov wrote: > On Sat, Sep 12, 2015 at 10:08 PM, Vaishali Thakkar > wrote: >> On Sat, Sep 12, 2015 at 11:52 PM, Dmitry Torokhov >> wrote: >>> On Sat, Sep 12, 2015 at 08:26:18PM +0530, Vaishali Thakkar wrote: Use managed resource functions devm_req

Re: [PATCH] Input: ad714x: Convert to using managed resources

2015-09-13 Thread Dmitry Torokhov
On Sat, Sep 12, 2015 at 10:08 PM, Vaishali Thakkar wrote: > On Sat, Sep 12, 2015 at 11:52 PM, Dmitry Torokhov > wrote: >> On Sat, Sep 12, 2015 at 08:26:18PM +0530, Vaishali Thakkar wrote: >>> Use managed resource functions devm_request_threaded_irq, >>> devm_inpute_allocate_device and devm_kzallo

Re: [PATCH] Input: ad714x: Convert to using managed resources

2015-09-12 Thread Vaishali Thakkar
On Sat, Sep 12, 2015 at 11:52 PM, Dmitry Torokhov wrote: > On Sat, Sep 12, 2015 at 08:26:18PM +0530, Vaishali Thakkar wrote: >> Use managed resource functions devm_request_threaded_irq, >> devm_inpute_allocate_device and devm_kzalloc to simplify >> error handling. Also, remove use of input_unregis

Re: [PATCH] Input: ad714x: Convert to using managed resources

2015-09-12 Thread Dmitry Torokhov
On Sat, Sep 12, 2015 at 08:26:18PM +0530, Vaishali Thakkar wrote: > Use managed resource functions devm_request_threaded_irq, > devm_inpute_allocate_device and devm_kzalloc to simplify > error handling. Also, remove use of input_unregister_device > as input_register_device itself handles it and wor

[PATCH] Input: ad714x: Convert to using managed resources

2015-09-12 Thread Vaishali Thakkar
Use managed resource functions devm_request_threaded_irq, devm_inpute_allocate_device and devm_kzalloc to simplify error handling. Also, remove use of input_unregister_device as input_register_device itself handles it and works as resource managed function. To be compatible with the change, variou