summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-09-09 14:33:37 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-09 10:49:54 +0200
commitd11b1e908e9a1301e43cefc37fc17dd2b1257b77 (patch)
tree980b13f01d7586b727bcaed95aeb75bbc23d1092 /drivers/base
parent2122c0d0f5a13ee91a051e3c93e458a24c161944 (diff)
downloadlinux-stable-d11b1e908e9a1301e43cefc37fc17dd2b1257b77.tar.gz
linux-stable-d11b1e908e9a1301e43cefc37fc17dd2b1257b77.tar.bz2
linux-stable-d11b1e908e9a1301e43cefc37fc17dd2b1257b77.zip
driver core: remove make_class_name declaration
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/base.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h
index b3a43a164dcd..b902d1ecc247 100644
--- 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);