]> asedeno.scripts.mit.edu Git - linux.git/commit
clocksource/drivers/timer-ti-dm: Convert to devm_platform_ioremap_resource
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 21 Dec 2019 17:30:26 +0000 (17:30 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 16 Jan 2020 18:06:57 +0000 (19:06 +0100)
commitcdab83f9d0fb13926f6633f20c3327545fd6f70f
treed2fb04f90883180c8fbe2fde5073d322c87b6fd9
parentba25322edd600300e55cd58eb7fbdf9cbdc5a82d
clocksource/drivers/timer-ti-dm: Convert to devm_platform_ioremap_resource

Use devm_platform_ioremap_resource() to simplify code, which
wraps 'platform_get_resource' and 'devm_ioremap_resource' in a
single helper.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191221173027.30716-4-tiny.windzz@gmail.com
drivers/clocksource/timer-ti-dm.c