Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27691335rwd; Tue, 4 Jul 2023 06:36:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7tmqEOZLZfzhHMa81R2dS2RtAviAyNf00ZnhauikxMUo75UYX7FT8IjHPRHwKSvnKbDL/F X-Received: by 2002:a05:6808:2203:b0:3a3:69f1:f982 with SMTP id bd3-20020a056808220300b003a369f1f982mr12568027oib.31.1688477781304; Tue, 04 Jul 2023 06:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688477781; cv=none; d=google.com; s=arc-20160816; b=QyQz3UVOxxe0QjCyrvU9H3n9FAf8MjiALM+5M/NwSYmG4+fRcM59ocYL+qeiQ9h7EM L1P8qh+Y/iiuxmGTk+OEaUZODdp/dXaR14pM9WKmHivMvOWjF4GvBVkVTp1k9RQDI7mE F2cdZ/Rt8fHVKBaZQ5qohaZAGKp/kL1fJyRkAMiQT38DKtFyRXnvvd9CAav3Z4PFxLc3 EJf5c1ZdM3sz6cXsiMpMViKlbUZVKJ/DFC0SW5SXC4kh5Iaxxr/IpKoRAoeiFtkwQSdT QjaqO630s1mBUSmVMzt8N6Ms9menCghKOFbR82BwLEBRNHU1lBKAkNT16BUmwPEqktAD srCw== 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:dkim-signature; bh=uTXo31Iuibo1/pxRm2VkkFbTicm3CfkfZ8LP1jckm3Q=; fh=H64Y6M62JWA4fTPzNFFUvEDY7mbvNKrFe8iroNBXZTg=; b=SO0giUOpvHo3U/QXAE6Rw75SCsOdcddluObOsvJ5F6qlW46dZ08O7OQ2LDrZ3L4EeB YhetIhXkHE0egf+bnkObz/exUGIkiV4C4cC2xJeuWIPz2oevYq/JvX+hrvf43fhk74wt uUpWwXWZTJKwheVGCWxrGE7olY2FYlLqP6p/NLPr5BmyyRsO4UxpxeQWsmiVI06p0aG8 moacDPOu9k9JZBF5K+mr6gAms7djDsAbhOVThyYPV/4OLLppryU0fkesunIDxY/F6r9C KoFoHpSCWG2q1g0GMZixI5u3h9Qt9y3F6MEaDG2pyq54Sp7Z8NiLBeIg/dGLldy7f9k6 COgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Iqtfxx7J; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a056a00088800b00681c3725a98si12485568pfj.82.2023.07.04.06.36.03; Tue, 04 Jul 2023 06:36:21 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Iqtfxx7J; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231163AbjGDNSV (ORCPT + 99 others); Tue, 4 Jul 2023 09:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230516AbjGDNSU (ORCPT ); Tue, 4 Jul 2023 09:18:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2205C171C; Tue, 4 Jul 2023 06:17:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 34D5A61251; Tue, 4 Jul 2023 13:17:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EE4AC433C7; Tue, 4 Jul 2023 13:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1688476664; bh=UTpMzzey7UkJhz14eKdj2JT9MkTg/zyYKLbQdg852ZY=; h=From:To:Cc:Subject:Date:From; b=Iqtfxx7JRJgfEXsDkjC6/o1KGO9ymffyCRPQ+aAko//FJZtwQmdMOQfdWRDl0+3G2 v0i2hy/SMnipPYl3H0qjOaaeOabB6eTAXWb8pbtB2+I11oF06vajXDDcE8vv5J3QT/ 4hNujCZUjQu7X+g636JJ2hnq9Q0otfFAkyNodgn0= From: Greg Kroah-Hartman To: linux-hwmon@vger.kernel.org Cc: linux@roeck-us.net, samsagax@gmail.com, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: [PATCH 0/3] driver core: remove final user of devm_device_add_groups() Date: Tue, 4 Jul 2023 14:17:16 +0100 Message-ID: <20230704131715.44454-5-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=829; i=gregkh@linuxfoundation.org; h=from:subject; bh=UTpMzzey7UkJhz14eKdj2JT9MkTg/zyYKLbQdg852ZY=; b=owGbwMvMwCRo6H6F97bub03G02pJDClLpG/HrH7t6eTvWPwpx6m6Rv3GPeOZN0svR87gNvb48 6ujdfmsjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI7dkMczj5rDdJTTj36dUz gT95E6VdDr37uY5hFlPD8m29qZv2FZ89Oo3xTPXplTerJgIA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 In the 6.5-rc1 merge window, a new user of devm_device_add_groups() snuck in before I had a chance to remove it from the tree. This series removes that user (and cleans up a global variable in the oxp-sensor driver), and removes the call from the tree entirely. Guenter, feel free to take these through your hwmon tree, or I can take them through my driver-core tree if you want me to. Greg Kroah-Hartman (3): hwmon: (oxp-sensors): remove static board variable hwmon: (oxp-sensors): move to use dev_groups from platform device driver core: remove devm_device_add_groups() drivers/base/core.c | 45 -------------------- drivers/hwmon/oxp-sensors.c | 82 +++++++++++++++++++++---------------- include/linux/device.h | 2 - 3 files changed, 47 insertions(+), 82 deletions(-) -- 2.41.0