commit | 68252638c8d03a39e5055f823f842c6886d3f83b | [log] [tgz] |
---|---|---|
author | Alexander Shiyan <shc_work@mail.ru> | Mon Apr 28 10:48:49 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed May 14 16:40:04 2014 -0700 |
tree | d07a424707d9adcb82151c163ec3549b9451dcb4 | |
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>