summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-04 15:47:57 +0300
committerJens Axboe <axboe@kernel.dk>2020-05-10 01:15:13 +0300
commit4c74746625dedb62ce00ac86ac4faedb640536d0 (patch)
treec07b21bdb41025bd78484b456f9e7ed07e3e1ed7 /include
parent79fab5287922900725df1394034de2e04b058907 (diff)
downloadlinux-4c74746625dedb62ce00ac86ac4faedb640536d0.tar.xz
driver core: remove device_create_vargs
All external users of device_create_vargs are gone, so remove it and open code it in the only caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index ac8e37cd716a..15460a5ac024 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -884,10 +884,6 @@ extern bool device_is_bound(struct device *dev);
/*
* Easy functions for dynamically creating devices on the fly
*/
-extern __printf(5, 0)
-struct device *device_create_vargs(struct class *cls, struct device *parent,
- dev_t devt, void *drvdata,
- const char *fmt, va_list vargs);
extern __printf(5, 6)
struct device *device_create(struct class *cls, struct device *parent,
dev_t devt, void *drvdata,