]> git.baikalelectronics.ru Git - kernel.git/commit
media: aspeed: Rework memory mapping in probe
authorJoel Stanley <joel@jms.id.au>
Tue, 7 Jan 2020 03:43:22 +0000 (04:43 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 15:09:03 +0000 (16:09 +0100)
commit4e903b65c10e67208e21960cd6763d2c59a7f0d9
tree1689d337552921da5c19fb81ff2e45e5609ba609
parent7bcf4f3c21bf18e0912965ff2f5bf3926b13ae64
media: aspeed: Rework memory mapping in probe

Use the recently introduced function devm_platform_ioremap_resource to
save a few lines of code. This makes the driver match common platform
device probe patterns.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/aspeed-video.c