mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[media] omap3isp: Use devm_ioremap_resource()
Replace devm_request_mem_region() and devm_ioremap_nocache() with devm_ioremap_resource(). The behaviour remains the same and the code is simplified. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
f8e2ff2621
commit
fd8308b42c
2 changed files with 5 additions and 22 deletions
|
@ -152,7 +152,6 @@ struct isp_xclk {
|
|||
* regions.
|
||||
* @mmio_base_phys: Array with physical L4 bus addresses for ISP register
|
||||
* regions.
|
||||
* @mmio_size: Array with ISP register regions size in bytes.
|
||||
* @stat_lock: Spinlock for handling statistics
|
||||
* @isp_mutex: Mutex for serializing requests to ISP.
|
||||
* @crashed: Bitmask of crashed entities (indexed by entity ID)
|
||||
|
@ -188,7 +187,6 @@ struct isp_device {
|
|||
|
||||
void __iomem *mmio_base[OMAP3_ISP_IOMEM_LAST];
|
||||
unsigned long mmio_base_phys[OMAP3_ISP_IOMEM_LAST];
|
||||
resource_size_t mmio_size[OMAP3_ISP_IOMEM_LAST];
|
||||
|
||||
/* ISP Obj */
|
||||
spinlock_t stat_lock; /* common lock for statistic drivers */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue