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)
commite07a8943b809730220a4aff911d2bce6991828f1
treef2836a63be87b17a571151097402febba7b9e319
parent39fbe5855737b2a2b8e097373951bbe1a4fdb345
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