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>
This commit is contained in:
parent
79fab52879
commit
4c74746625
2 changed files with 2 additions and 39 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue