Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp476834pxb; Wed, 22 Sep 2021 06:28:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7ly9WUHWHPiuk1vU3e4LEZuQXTkBbDDLg2LEOkl24MkglAk76AMG8mEhmHRSJYr8O+tgn X-Received: by 2002:a50:e006:: with SMTP id e6mr21340513edl.302.1632317295719; Wed, 22 Sep 2021 06:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632317295; cv=none; d=google.com; s=arc-20160816; b=WfYu3enbyuB4utEc6bbqo8RwBs6NJeRasIpjCVFSNP7MttfAgnZBBdJMpADQOPaGVl iWgfhns8kUnb3A2TZxzDHB4a4fuPjmcppCD6afj02R4x7drjuf7HBUUYL09o8FCxckYz DCBuUUYJI+mcXJTppWg1wRcwmVhv6rBObN8FtabMAKbXEnyPCBO9I2z/rpQCkROW4c+Y VXqtZ3urgEi+7VA8LJubUq8TpWpyFyJtA5tm90KZwBxAy3noNWUEOjlrXfOR7DPLEbPH rni37OGHJ33tGiN4YImwCskhbzQYQu2S9JBOb6j+NddcSqcoK4wp/vxAg+LtHdRcBgZQ Mutw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=atfgY+ACKcJEBcWQ1s53Y/PqrC5zShGe6N1GjT6gXec=; b=DZqvFc3vODKDNdZ0vzQJuyK2pf4ReSBxaBG1N5BcE6+OaDMQ6AS6L4d3+3XDZcE7sb oz0ln1sjFhNuJkcJiT9eAsWRiNnOlmOIU1MHpwK9mAL6d9wpMslbOvo8qjgaZkv7YH9l z3HN7mo4194JVygOWnPX4o9/x2sKuzZf8DxoMGGsMlLULVoz2X5YS7Gfy+zCY2eav8S5 R+KmOCWJNsrX2Qb6LQ27YVPxwfgISI391kVufx2SFk4/nz6k5/YaQ5eehcKI0GF05+90 UTSxBGmDMKhBTPbKrBh6DQpO5aETuujzXkIYB8+XJnqNhR8U5bIpIDseBMbOY6FjBfNb sE8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E3m059Gn; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si2572649edf.22.2021.09.22.06.27.50; Wed, 22 Sep 2021 06:28:15 -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=@linaro.org header.s=google header.b=E3m059Gn; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232243AbhIVNZY (ORCPT + 99 others); Wed, 22 Sep 2021 09:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231783AbhIVNZX (ORCPT ); Wed, 22 Sep 2021 09:25:23 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28FB8C061574 for ; Wed, 22 Sep 2021 06:23:53 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id t8so6885151wri.1 for ; Wed, 22 Sep 2021 06:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=atfgY+ACKcJEBcWQ1s53Y/PqrC5zShGe6N1GjT6gXec=; b=E3m059Gn3tTaWwqlYoyKibddIiXnJaHfLGsAbCdF4cBz18NOSpeVzHdr50vXhhYgjI Zquox3ATD5Yj/S+aUKRgxo1C0+exYqReAtLKdEvET41Hhno+75N1cN8wp/Y4nZZKpvEf cU9W8kZdPXSNqVTbiD1qT20EhBgLPcos9P1KIL+zn2vBXy58Q7ZF3vY01QOOiU7WW4vc pk/CrZksn6M3cyQ1e9bHk25JQdNfgX8sboxD5+z/ReSJjOoFpp2AxnRbd13eWkEzLxDd h7fHtoYM2P8TFz5Q4043R6UAYY5hKlu/XqUR3+CPEhaSHypOhY2aeYcQxxTxPqeMYb80 jqHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=atfgY+ACKcJEBcWQ1s53Y/PqrC5zShGe6N1GjT6gXec=; b=rENaAe2XFiDdVBnYKQeDEGGp4t3p/L9TTL5JVopZTcTsXfabRZy/+nIs2MFi6ywpzI w9nsmOfDzbiVNPYacrhn7QNRPv+1vWthh4hET+2oSbYy2ykYswyh3mHi/OZbKheC1O+h iPRiqR8OCb8PnlyPv9g/Eso/ppBIvQnngNSEhkQbKuz9+9Eb2J0NNYvOPy2x85bPUb84 4+aO+rDba014Zlpp7NQWzZE7M4A35MfwUz/YSguCnOrxrzhoUF66iGZaS3rIaGXqUv4I 5UCTKnNHXj1+hyeUf4fJra1ct3YtU3qFD0SP8+psTFT/4OTcR+v1g0tDfKFxbiOEcy0F IXHQ== X-Gm-Message-State: AOAM530qyE/kHQ9Vz45JjvcsG+FV5NFuN/ACGYuCruXyDpdekOyXEwzb 2B+uuXjs/zXBsbx+jj1uOtvTew== X-Received: by 2002:a7b:ce94:: with SMTP id q20mr9927341wmj.83.1632317031778; Wed, 22 Sep 2021 06:23:51 -0700 (PDT) Received: from google.com ([95.148.6.233]) by smtp.gmail.com with ESMTPSA id n186sm5958511wme.31.2021.09.22.06.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Sep 2021 06:23:51 -0700 (PDT) Date: Wed, 22 Sep 2021 14:23:49 +0100 From: Lee Jones To: Mauro Carvalho Chehab 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] mfd: hi6421-spmi-pmic: cleanup drvdata Message-ID: References: <1828cb783b1ebca0b98bf0b3077d8701adb228f7.1630586862.git.mchehab+huawei@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1828cb783b1ebca0b98bf0b3077d8701adb228f7.1630586862.git.mchehab+huawei@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 02 Sep 2021, Mauro Carvalho Chehab wrote: > There are lots of fields at struct hi6421_spmi_pmic that aren't s/at/in/ > used. In a matter of fact, only regmap is needed. s/In/As/ > So, drop the struct as a hole, and set just the regmap as s/hole/whole/ s/set just/just set/ > the drvdata. > > Acked-by: Mark Brown > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/mfd/hi6421-spmi-pmic.c | 16 +++++---------- For my own reference (apply this as-is to your sign-off block): Acked-for-MFD-by: Lee Jones > 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 Looks as though we're still missing a misc Ack. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog