diff options
| author | Alexander Shiyan <shc_work@mail.ru> | 2014-04-28 10:48:49 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 16:40:04 -0700 |
| commit | 68252638c8d03a39e5055f823f842c6886d3f83b (patch) | |
| tree | d07a424707d9adcb82151c163ec3549b9451dcb4 /net/lapb/lapb_timer.c | |
| parent | bf1de9761c21f56d5b0c6a0acd3b792d801c61e6 (diff) | |
Input: gpio_keys_polled - convert to devm-* API
Replace existing resource handling in the driver with managed device
resources, this ensures more consistent error values and simplifies error
handling paths:
kzalloc -> devm_kzalloc
gpio_request_one -> devm_gpio_request_one
input_allocate_polled_device -> devm_input_allocate_polled_device
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
