summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-10-26 18:32:26 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-29 09:42:46 +0100
commit21cc885609e3f3c7a9778daed344c48ae6313c33 (patch)
treedd64998ff872a7b3e7be55d9ff339083d2bb39cf /include
parent9d8477fcb8e43a5267ade33aca4a09f78a8d7aaa (diff)
downloadbarebox-21cc885609e3f3c7a9778daed344c48ae6313c33.tar.gz
barebox-21cc885609e3f3c7a9778daed344c48ae6313c33.tar.xz
drivers: base: Drop dev_get_mem_region_by_name()
Drop dev_get_mem_region_by_name() which doesn't seem to have any users in the codebase. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/driver.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/driver.h b/include/driver.h
index 1b61f20660..63facbfbe5 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -188,10 +188,6 @@ struct resource *dev_get_resource(struct device_d *dev, unsigned long type,
struct resource *dev_get_resource_by_name(struct device_d *dev,
unsigned long type,
const char *name);
-/*
- * get register base 'name' for a device
- */
-void *dev_get_mem_region_by_name(struct device_d *dev, const char *name);
/*
* exlusively request register base 'name' for a device