Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1572563rwn; Thu, 8 Sep 2022 23:59:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Dq8e1UsINMJRc083qa4CvW1XuOid7MPiYoPVj5frWCFwRV8hxFEykMwhVjkrH3hhL6ytE X-Received: by 2002:a2e:a0cc:0:b0:26b:e763:27d2 with SMTP id f12-20020a2ea0cc000000b0026be76327d2mr156839ljm.62.1662706747243; Thu, 08 Sep 2022 23:59:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662706747; cv=none; d=google.com; s=arc-20160816; b=sEpsceedhBA5Ix5IO8vp/0Xxf9EWOx9yqkVVmP0XLl8nfldn8IxYRwRyp6EdcoYEp6 pKoP87kjpKJv9g2TMmyzOo43w+MeifkKdjFpheWbinzbsfkibL0f3hEGu/ZOiXIfJ38a Zvu+e59LKVj1MaSfQvfBQd8l9DHmFh0/XD+HPyQlyEEEX6p5cWUXbANDwHFL/2qpSTiY /dRXZOFu/9INt9wTTrh6TyB6cSusR+OMVuEfGGIbMfu7FxgyLu3j8R6tkj0aA+FZx/iK u3HM0+Kpuv5Xznb2TZRtEDverxQLnCxkSykTZTgdQOwEGAuBMyFVHNP2I56AqpROrjjY ymUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=t9IBOKl7TARMjndb1NIKuooxB2E146S9gMm2rc1Yczo=; b=iC7mfQrx6PnuWZikMlLkTR6ExX73a3cX7ZzzwjKDMpyC7YR1hqdF8JxNyLjpppQsT2 /6jlNhs+/1h9Tfom5krxbz+w8z5t2nqAy4Gkbq7TznuBYrF8uGpwWKRVtm2i2pJQp/vX jjPNw1CGMGHsC/FrUE3/hPX/SQdc3LS1SgT9bPFaywHkoF0CKRf9IAh0ZbzkLXkQWCRk vSTJ0T593M7NVQWhhvX8YT4SQ0uKC2r5CMohTKU18IH4llgAcAgIn3CcElC3A8g85yys x70v4W5mXixyQZbHwQDth1+ZhdhCCLBVFPCO6/gQGLhKJtLE13lnDi8APqBD6SBsiFiC dnQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n5-20020a0565120ac500b0048a37c8514fsi520809lfu.150.2022.09.08.23.58.37; Thu, 08 Sep 2022 23:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230495AbiIIGdn (ORCPT + 99 others); Fri, 9 Sep 2022 02:33:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230481AbiIIGdl (ORCPT ); Fri, 9 Sep 2022 02:33:41 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D0C12FBAB for ; Thu, 8 Sep 2022 23:33:39 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MP5jL1qdvznVCC; Fri, 9 Sep 2022 14:31:02 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 9 Sep 2022 14:33:37 +0800 From: Gaosheng Cui To: , , , CC: Subject: [PATCH] driver core: remove make_class_name declaration Date: Fri, 9 Sep 2022 14:33:37 +0800 Message-ID: <20220909063337.1146151-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/base/base.h | 2 -- 1 file changed, 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); -- 2.25.1