Re: [PATCH v2 2/5] Input: adp5589: use device-managed function in adp5589_keypad_add()

2020-11-18 Thread Dmitry Torokhov
Hi Alexandru, On Thu, Nov 12, 2020 at 09:43:05AM +0200, Alexandru Ardelean wrote: > This change makes use of the devm_input_allocate_device() function, which > gets rid of the input_free_device() and input_unregister_device() calls. > > When a device is allocated via input_allocate_device(), the

[PATCH v2 2/5] Input: adp5589: use device-managed function in adp5589_keypad_add()

2020-11-11 Thread Alexandru Ardelean
This change makes use of the devm_input_allocate_device() function, which gets rid of the input_free_device() and input_unregister_device() calls. When a device is allocated via input_allocate_device(), the input_register_device() call will also be device-managed, so there is no longer need to