From: Alexander Shiyan Date: Mon, 28 Apr 2014 17:48:49 +0000 (-0700) Subject: Input: gpio_keys_polled - convert to devm-* API X-Git-Tag: omap-for-v3.16/fixes-against-rc1~76^2^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68252638c8d03a39e5055f823f842c6886d3f83b;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed