misc: atmel_tclib: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 9 Oct 2019 14:37:52 +0000 (22:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 13:24:19 +0000 (15:24 +0200)
commitad90ff6964d733ee59d1679f692c23fb1dab7f30
treec3ce5cc09002268605a9fc8cdd458a3c1d618e25
parent71200fcbb91c1a6b6da7fe1c806c6dd27b42e14c
misc: atmel_tclib: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20191009143752.11236-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/atmel_tclib.c