Commit ba7f08e2 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jens Axboe

[PATCH] Kill zorro_check_device

Kill zorro_check_device(), it's deprecated and unused (from Christoph Hellwig).
parent 97f700e6
......@@ -57,13 +57,11 @@ not yet in use. This is done using the I/O memory space resource management
functions:
request_mem_region()
check_mem_region() (deprecated)
release_mem_region()
Shortcuts to claim the whole device's address space are provided as well:
zorro_request_device
zorro_check_device (deprecated)
zorro_release_device
......
......@@ -182,9 +182,6 @@ extern struct zorro_dev *zorro_find_device(zorro_id id,
#define zorro_request_device(z, name) \
request_mem_region((z)->resource.start, \
(z)->resource.end-(z)->resource.start+1, (name))
#define zorro_check_device(z) \
check_mem_region((z)->resource.start, \
(z)->resource.end-(z)->resource.start+1)
#define zorro_release_device(z) \
release_mem_region((z)->resource.start, \
(z)->resource.end-(z)->resource.start+1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment