commit | a315614b68993318f6913cc28b9b4e472ebbdf26 | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Thu Jul 18 09:32:05 2019 +0800 |
committer | Thierry Reding <thierry.reding@gmail.com> | Sat Sep 21 00:26:10 2019 +0200 |
tree | ed796af92f48d3e3db761f45bebf5a432e54b62f | |
parent | 6cf9481b440da6d6d86bd8e4c99a8b553b9d1271 [diff] |
pwm: mxs: 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: Dong Aisheng <aisheng.dong@nxp.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>