Message ID | 20230604042557.900590-2-masahiroy@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1975090vqr; Sat, 3 Jun 2023 21:56:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Mnna/HsoiJke5PadjgG63OsZUtzNSdj5h+nPThSccX1l19wXGBZwMhLHr+k7cMvjtH212 X-Received: by 2002:a17:902:f548:b0:1ac:4735:45d7 with SMTP id h8-20020a170902f54800b001ac473545d7mr5213543plf.6.1685854573931; Sat, 03 Jun 2023 21:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685854573; cv=none; d=google.com; s=arc-20160816; b=DDe9dCjYo7r9pjQ3T3LqIa/141vi+U1IJIrdKWE7xP874ROvkaEWAKYakDor2q4aXq Pd+aUx8Sa/FgKy66mn8YuaOe75Rsv4KCD4F805Yv3ri2F1JxGQ/iJR6sE4hwCEwayZ3C +7bqvlchBfrSgnJWbm2OO9Q92mk8MlpRLJrmS/+ZGmjLkt66y+yd/nvOlbYBXFbUD8bo QARhjHo580+vLmSSWJcxW00kv8XJztDR/rEfyw2kFMwTxJP2QE9KEVLD8A/zPMEqPBUh OrKTl4zhSCEBClCFzEqFgwgSw74plV8pfPZ9Qxc7pzC0tg7JHECJkm151ba2JJGnVHmU Qfag== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MBPNXWb6jGAsGhKUSFYjnyYlDN8kKevTDOpwX+e/xa4=; b=qeZuGzu6ThXOY++EG3KKvIfDZNk3qZMlgEg3tA121atvKFjVfFsmJY1DPKAuTP5Cpq l1rvxpuz8Os/OzgsQT7qT8dJ+G+mvYD5ntBPQXhZ3274xF5EGpQMppln34PfZ8FhexzR 0RWUBdzP5ulhCnnJTR5etg/xtjICfanur9kjiGb8K3zogx1Ds9JRg515hFhQqu4VDdeU R47oA1Pl2Oij/BpAnUD2FCLQi52yQBQHFGefpsFAZc9vUPF3j1zp5bU7LY4KfWm3pmo1 QYS7aRn9QNFMA5hc+SDcm5fpaWKjR4kOemLe9nFc07/wJYw8Y8kPHtRIC1It7VxxnlxF FAhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LNA7FOFg; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s20-20020a170902989400b001b205a14113si105227plp.386.2023.06.03.21.55.59; Sat, 03 Jun 2023 21:56:13 -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=@kernel.org header.s=k20201202 header.b=LNA7FOFg; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbjFDE0M (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Sun, 4 Jun 2023 00:26:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjFDE0G (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 4 Jun 2023 00:26:06 -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 E0283DE for <linux-kernel@vger.kernel.org>; Sat, 3 Jun 2023 21:26:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 688666023A for <linux-kernel@vger.kernel.org>; Sun, 4 Jun 2023 04:26:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2013C4339B; Sun, 4 Jun 2023 04:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685852763; bh=/YvihPZdhZSDkksrilKVclKCEw5ckynqFNfIY815en0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LNA7FOFgD2soxOOer5q31fFru2cxbCVNbsSCOfrKWFRVspzuWzwJ8se4r0dZ/+Hl2 O9n5r3YjA6xETicK3Qjf+xp4cIN/QnLqiMUSk2FoD4fJHEVG3s9rI4d40jo3XUjpeM fvsg7PR6cPCy6iw9Ux0DnjnlsUituy2Oa9bmC1E/yynr12z0s4TzTFgVNoY/Tlbs0H 4gpUuXhsy4yjhPlPiK+4kF0KL0q7gbVDFKe7FiyCs5U0Q7bKw5SFTQdLMc9aZ5j/v0 DEfYxK6OOEYtNaQllJ8LqSfDlAy3AdVtIP7sk0xvJSkK9BJmXd/457x37hBoBLtMaE 9DYl/Rt9SN8+w== From: Masahiro Yamada <masahiroy@kernel.org> To: linux-kernel@vger.kernel.org, Lee Jones <lee@kernel.org> Cc: Masahiro Yamada <masahiroy@kernel.org> Subject: [PATCH 2/2] mfd: rsmu: turn rsmu-{core,i2c,spi} into single-object modules Date: Sun, 4 Jun 2023 13:25:57 +0900 Message-Id: <20230604042557.900590-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230604042557.900590-1-masahiroy@kernel.org> References: <20230604042557.900590-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.6 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767746645572103980?= X-GMAIL-MSGID: =?utf-8?q?1767746645572103980?= |
Series |
[1/2] mfd: rsmu: fix mixed module-builtin object
|
|
Commit Message
Masahiro Yamada
June 4, 2023, 4:25 a.m. UTC
With the previous fix, these modules are built from a single C file.
Rename the source files so they match the module names.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
drivers/mfd/Makefile | 3 ---
drivers/mfd/{rsmu_core.c => rsmu-core.c} | 0
drivers/mfd/{rsmu_i2c.c => rsmu-i2c.c} | 0
drivers/mfd/{rsmu_spi.c => rsmu-spi.c} | 0
4 files changed, 3 deletions(-)
rename drivers/mfd/{rsmu_core.c => rsmu-core.c} (100%)
rename drivers/mfd/{rsmu_i2c.c => rsmu-i2c.c} (100%)
rename drivers/mfd/{rsmu_spi.c => rsmu-spi.c} (100%)
Comments
On Sun, 04 Jun 2023, Masahiro Yamada wrote: > With the previous fix, these modules are built from a single C file. > > Rename the source files so they match the module names. Should this be part of the previous patch? > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > --- > > drivers/mfd/Makefile | 3 --- > drivers/mfd/{rsmu_core.c => rsmu-core.c} | 0 > drivers/mfd/{rsmu_i2c.c => rsmu-i2c.c} | 0 > drivers/mfd/{rsmu_spi.c => rsmu-spi.c} | 0 > 4 files changed, 3 deletions(-) > rename drivers/mfd/{rsmu_core.c => rsmu-core.c} (100%) > rename drivers/mfd/{rsmu_i2c.c => rsmu-i2c.c} (100%) > rename drivers/mfd/{rsmu_spi.c => rsmu-spi.c} (100%) > > diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile > index 2a0e80f941a1..0fe213858974 100644 > --- a/drivers/mfd/Makefile > +++ b/drivers/mfd/Makefile > @@ -271,9 +271,6 @@ obj-$(CONFIG_MFD_INTEL_M10_BMC_PMCI) += intel-m10-bmc-pmci.o > obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o > obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o > > -rsmu-core-objs := rsmu_core.o > -rsmu-i2c-objs := rsmu_i2c.o > -rsmu-spi-objs := rsmu_spi.o > obj-$(CONFIG_MFD_RSMU_CORE) += rsmu-core.o > obj-$(CONFIG_MFD_RSMU_I2C) += rsmu-i2c.o > obj-$(CONFIG_MFD_RSMU_SPI) += rsmu-spi.o > diff --git a/drivers/mfd/rsmu_core.c b/drivers/mfd/rsmu-core.c > similarity index 100% > rename from drivers/mfd/rsmu_core.c > rename to drivers/mfd/rsmu-core.c > diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu-i2c.c > similarity index 100% > rename from drivers/mfd/rsmu_i2c.c > rename to drivers/mfd/rsmu-i2c.c > diff --git a/drivers/mfd/rsmu_spi.c b/drivers/mfd/rsmu-spi.c > similarity index 100% > rename from drivers/mfd/rsmu_spi.c > rename to drivers/mfd/rsmu-spi.c > -- > 2.39.2 >
On Thu, Jun 15, 2023 at 11:00 PM Lee Jones <lee@kernel.org> wrote: > > On Sun, 04 Jun 2023, Masahiro Yamada wrote: > > > With the previous fix, these modules are built from a single C file. > > > > Rename the source files so they match the module names. > > Should this be part of the previous patch? I do not know. It is up to the maintainer's preference (you). If you want me to send a squashed patch, I will be happy to do so. Masahiro
On Fri, 16 Jun 2023, Masahiro Yamada wrote: > On Thu, Jun 15, 2023 at 11:00 PM Lee Jones <lee@kernel.org> wrote: > > > > On Sun, 04 Jun 2023, Masahiro Yamada wrote: > > > > > With the previous fix, these modules are built from a single C file. > > > > > > Rename the source files so they match the module names. > > > > Should this be part of the previous patch? > > > I do not know. It is up to the maintainer's preference (you). > > If you want me to send a squashed patch, I will be > happy to do so. I think it makes sense in this case.
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 2a0e80f941a1..0fe213858974 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile @@ -271,9 +271,6 @@ obj-$(CONFIG_MFD_INTEL_M10_BMC_PMCI) += intel-m10-bmc-pmci.o obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o -rsmu-core-objs := rsmu_core.o -rsmu-i2c-objs := rsmu_i2c.o -rsmu-spi-objs := rsmu_spi.o obj-$(CONFIG_MFD_RSMU_CORE) += rsmu-core.o obj-$(CONFIG_MFD_RSMU_I2C) += rsmu-i2c.o obj-$(CONFIG_MFD_RSMU_SPI) += rsmu-spi.o diff --git a/drivers/mfd/rsmu_core.c b/drivers/mfd/rsmu-core.c similarity index 100% rename from drivers/mfd/rsmu_core.c rename to drivers/mfd/rsmu-core.c diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu-i2c.c similarity index 100% rename from drivers/mfd/rsmu_i2c.c rename to drivers/mfd/rsmu-i2c.c diff --git a/drivers/mfd/rsmu_spi.c b/drivers/mfd/rsmu-spi.c similarity index 100% rename from drivers/mfd/rsmu_spi.c rename to drivers/mfd/rsmu-spi.c