Input: imx_keypad - use devm_platform_ioremap_resource() to simplify code
authorAnson Huang <anson.huang@nxp.com>
Tue, 21 May 2019 05:11:37 +0000 (22:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 21 May 2019 05:45:17 +0000 (22:45 -0700)
commitd8ea61c5af0ee615455130449186ac7b698155d9
tree8340f07951e50a63afbf13be16e86df064ab97c6
parent5f462872a192db55c278ac39da5e892cc23739a1
Input: imx_keypad - use devm_platform_ioremap_resource() to simplify code

Use the new helper devm_platform_ioremap_resource() which wraps the
platform_get_resource() and devm_ioremap_resource() together, to
simplify the code.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/imx_keypad.c