]> git.baikalelectronics.ru Git - kernel.git/commit
Input: apbps2 - convert to devm_ioremap_resource()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 15 Apr 2013 20:38:07 +0000 (13:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Apr 2013 20:40:33 +0000 (13:40 -0700)
commit06dbdc67b23ac989dfd991a7f74f8d08ba72fbf2
treef2836a63be87b17a571151097402febba7b9e319
parent849e318c03fec7431809c4bd108f94aaf0f49d4e
Input: apbps2 - convert to devm_ioremap_resource()

Use the newly introduced devm_ioremap_resource() instead of
devm_request_and_ioremap() which provides more consistent error handling.

devm_ioremap_resource() provides its own error messages; so all explicit
error messages can be removed from the failure code paths.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/apbps2.c