projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2122c0d
)
driver core: remove make_class_name declaration
author
Gaosheng Cui
<cuigaosheng1@huawei.com>
Fri, 9 Sep 2022 06:33:37 +0000
(14:33 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 9 Sep 2022 08:49:54 +0000
(10:49 +0200)
make_class_name has been removed since
commit
39aba963d937
("driver core: remove CONFIG_SYSFS_DEPRECATED_V2
but keep it for block devices"), so remove it.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link:
https://lore.kernel.org/r/20220909063337.1146151-1-cuigaosheng1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/base.h
patch
|
blob
|
history
diff --git
a/drivers/base/base.h
b/drivers/base/base.h
index b3a43a164dcd1d52280113fb271045693dbcf01c..b902d1ecc247f142d33150ad129e27c0565fa316 100644
(file)
--- a/
drivers/base/base.h
+++ b/
drivers/base/base.h
@@
-154,8
+154,6
@@
extern void driver_remove_groups(struct device_driver *drv,
const struct attribute_group **groups);
void device_driver_detach(struct device *dev);
-extern char *make_class_name(const char *name, struct kobject *kobj);
-
extern int devres_release_all(struct device *dev);
extern void device_block_probing(void);
extern void device_unblock_probing(void);