Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4354405pxb; Tue, 5 Oct 2021 00:57:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfsAbpMbsyh+XZhRYRfhe3vxJRT/PNt6YD1TsIvm0jEYSw+Cl/0LGgfOKBf5XcQdUD74d9 X-Received: by 2002:a17:90b:606:: with SMTP id gb6mr2150450pjb.208.1633420666639; Tue, 05 Oct 2021 00:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633420666; cv=none; d=google.com; s=arc-20160816; b=JCwD+DbAJTAjJ4dG/2siou4clXg1QmjVJ1xfL4D9rfWTcfsIGApD7TAzArQy/4dgS6 sPojIwBXB5t4Z+0M38MfV7oP9LY7K76oxdBTO4Xbv9E36p9SPlwaHrPrIUXhw3EOX8Go FIOmgFdBOTXH7f+kKUinScg6NAI38hL9gAEnN84FgstIXyycn2BhKsX2XqlUSsRhze/i Ar0Zkbs79Lj9Y0bJkdoypKZnawZH+C7KsOoNX49JpePOcHENgMaMS0acuwHZ4VLOO4mR qtlI3swrbZp1PqA2l70+P2RaOl3z2Hbxr0M4FRseuyetFNLLJITL4gE1MqqDMFxS5ehO 9NOQ== 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:subject:cc:to:from:date :dkim-signature; bh=KGqc4abQiznFEMvSAOO0PGm2Gz8rK/7sxjkNhzCwrBA=; b=LtTnakL20x7yi25WbzY8c3pHrpwR3RmMy44sa1zvp+iOPcUEWibZfSFV/fW6ix0wFv Ub72nqpfuWu39Ktt6dN0liZyxcZx0YuGRSb5vljNMyVR3rEh0uoXd2iIc+PeNMVMiuW7 Z+h64eXpvfQ+hW3qzJ3uhrMR1FNskf2BWVzRckRmfeYCkzcmcSollGeUCb/ewKUOopr5 NHP3TTx8/QKNBMemuDQY9VjyoR+lL6fbrhmK6QwTQhrSvVE3n1wy4VS6d2qct4SogVXK ZISVlUsTlcaLnJXx3jCXw36y8HdAIrxNq/Rvh/+HBCsxz9qyzshSVVfy8D5v6Iepzear Wv4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jr0uAPEX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t12si24276550plr.73.2021.10.05.00.57.34; Tue, 05 Oct 2021 00:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jr0uAPEX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S233001AbhJEH6Z (ORCPT + 99 others); Tue, 5 Oct 2021 03:58:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:39492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233612AbhJEH55 (ORCPT ); Tue, 5 Oct 2021 03:57:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B446961350; Tue, 5 Oct 2021 07:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633420567; bh=f4gsbsUJ2pbvz6Vm0qN214XBzGKbfjvTDyCDkH9qwoU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jr0uAPEXaN1ov5aY1GCXK4ansIV4xeQfmIv3dWlzxw+RKXAoYflkVVtsEW+QkLn9i HoXNedAH5S4LUu787uOK/T6ITBB3sozWJhgDKVB/wW4sgnfNclbRJhIb/JTav+mOoa qFMoPvursQplbFXEaRSU/zmIRnQUp6ilmv+sdINxLTZ0dfyMDxVWY9xmuxgPgOuS6y ezvhoaJ4cJLGpifj2IxbDEO5kRjuYFOC7J3s2Q08XEXYPo7V0Utu55n0cozKNebRNs vAb0Pze/6bXxz08oVdPvpQJoOZ49bhLqUJd7RpzAabo/c1RoYUfPYJQi8owr8N9FA9 qiRYYsp4W0QQA== Date: Tue, 5 Oct 2021 09:56:03 +0200 From: Mauro Carvalho Chehab To: Lee Jones Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Arnd Bergmann , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 RESEND] mfd: hi6421-spmi-pmic: cleanup drvdata Message-ID: <20211005095603.0e204776@coco.lan> In-Reply-To: References: X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 5 Oct 2021 08:50:50 +0100 Lee Jones escreveu: > On Wed, 15 Sep 2021, Mauro Carvalho Chehab wrote: > > > There are lots of fields at struct hi6421_spmi_pmic that aren't > > used. In a matter of fact, only regmap is needed. > > > > So, drop the struct as a hole, and set just the regmap as > > the drvdata. > > > > Acked-by: Mark Brown > > Signed-off-by: Mauro Carvalho Chehab > > --- > > drivers/mfd/hi6421-spmi-pmic.c | 16 +++++---------- > > drivers/misc/hi6421v600-irq.c | 9 ++++----- > > drivers/regulator/hi6421v600-regulator.c | 10 +++++----- > > include/linux/mfd/hi6421-spmi-pmic.h | 25 ------------------------ > > 4 files changed, 14 insertions(+), 46 deletions(-) > > delete mode 100644 include/linux/mfd/hi6421-spmi-pmic.h > > For my own reference (apply this as-is to your sign-off block): > > Acked-for-MFD-by: Lee Jones > > I intend to take this with a Misc Ack. Hi Lee, Greg already gave you: https://lore.kernel.org/all/YVLA14jbwqXjNM2f@kroah.com/ Regards, Mauro