]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ptp_ines: convert to devm_platform_ioremap_resource
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 29 Apr 2020 07:58:20 +0000 (07:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2020 18:44:08 +0000 (11:44 -0700)
commit616f7d09d74ad5cdf6173e768379879d93d15f21
treef5709c596a94651d30a324372b9b881afab9efaf
parentc89e713ce8e3a8dbc4ee469e36a621569286441b
ptp: ptp_ines: convert to devm_platform_ioremap_resource

Use the helper function that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ines.c