Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4352857pxb; Tue, 5 Oct 2021 00:54:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDk+H7PMI/eUrwoaxXrjEaXmSIu+wojWFrZ2wi3QwF9cD2AAqu55RwiVCkinn9GdCGIPQ0 X-Received: by 2002:a17:906:704e:: with SMTP id r14mr22947882ejj.293.1633420491991; Tue, 05 Oct 2021 00:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633420491; cv=none; d=google.com; s=arc-20160816; b=XTlclbiKXwXMoVN4n4PrWcfEFZ6K5X5Q0M0PrxeLC6g1TNKqUODW6V61UP3J0lWzFZ /Q6Igi2DKZz3XY7EwqwcpfvhpTIy1v+yuRK22TfFZrQb834TCFYLv6tTbPz6GoF9mwab ejZIKl6R/MToIYZu1Ulvx6tjzIlyyKWtqyQVrpEGX3hH9u2NPfKdqJiu0jDvhX0KdGow JHCD/1DyIuvHm/Kp7mct2pCgAuCmFETuOOIIncWhjTDPL+CmnSaEv2EyDMADiMOop9v0 mRrLqLGfMmb8lIyBo9U/l/oWweDKxh6zu0g8wZwc8hEULv24XK66E3TQfTyVmWEz8uil 4r+w== 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=Bs9eBxHEnrps6X8s9shbbXuQ9tVCujgCc/WLBhtAzOc=; b=CIUFUOY69ruRpoku0Ada7H1H7spU1D8WGstWgqWddLC4bcW0w0lcmOOR8WvjAcFLe+ AYXh2uX7VYGFxHWSpek15XQbemxN/M/tFuDtb2HuXui20xAh4mflEW0L1v08gQJv6Erm FwGNXWJNVTndRfAmNOT3u8ooF0ZZBVlfpo5pzaK4QVsZLQKH/6JSBFP1k+KsNFnYbNtf yJv7PHR8GnXJQFwA5gbBTvk9dPFJG2Vyh1U1jJiBVzwn7gJohf8PsA3SooA4LkpnY7NU Rlbyxt6LnQT8NxcUGqD6LyMmL6uR4SoTEaHHCNryb6PpVYhqfqxyLfmC+UNmjIIuQC5t /wfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=msLaNoiz; 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 ce19si10912005edb.509.2021.10.05.00.54.28; Tue, 05 Oct 2021 00:54:51 -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=msLaNoiz; 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 S232772AbhJEHwp (ORCPT + 99 others); Tue, 5 Oct 2021 03:52:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232871AbhJEHwo (ORCPT ); Tue, 5 Oct 2021 03:52:44 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D7F4C061749 for ; Tue, 5 Oct 2021 00:50:54 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id t8so35800448wri.1 for ; Tue, 05 Oct 2021 00:50: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=Bs9eBxHEnrps6X8s9shbbXuQ9tVCujgCc/WLBhtAzOc=; b=msLaNoizD3FyAm4YK1jl5AFyjcPRgLwLfWZCwkfhlsMUSOh1LctzNHzxTYpsjmNc8g G8DwjX5vbGMSfk3JMUDHL85oy6y+uAEdlGerh4zEhVKiJVQg/2HQlXE8Y76Wdtk3K2KV ymofaW7LvT8kd9xGocT1ZFGEZ3//s9z5M78Q8GAcwQfSS/QG/mZpeS/yXFiJGwwyPJeR +l0+gqVjjHF6ysafFP5WNOysQ0mucLHCSguTfCLxfGV+TQL1XzWqlhh4aTZgF9Pukh92 HefACn8Rso41ylKwjNUBm+KSkcBJeBR9rLSx2wQ0m8HkkfhOP+A2jYmUEy3jl2zXNTjl i3tA== 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=Bs9eBxHEnrps6X8s9shbbXuQ9tVCujgCc/WLBhtAzOc=; b=cLs63Z/22JUaLiidGJNZsSd5uJEAZgUqk6+Pgz135aWmeQ0ELHY/+PkoIwiw+oQqKd rMlmW/+NrLqfgVIiYOpeqnMmuhV3Wjh3ZwHMDSmqGEFLIpe/jjNKucNIWAiWK6MWDOWv ecFtFlPkZ3A8jKBnQLCjTSxMGa+WMnP3eMibX3sRxWZOZ/Z0089TAfSxnL7IcYu0BSJ0 0+3wpvO7HrBvZk7d/O201WXnQmCBPptc9sP5HYwjv9p67a1u9lunRlC4e3QSviMvR68v EwZyKuTFaZ8xuOu/TJhiNSkqIyu/JbgP3qaBGZCtRDhcFSwV+r0XNgVOibQbTed50KWx ZAlQ== X-Gm-Message-State: AOAM530N0WTSaK+Pp3V1+BmFYnSJKWy/i4Sw1L8fH0YzJnXgdq4c24N4 NKXXFp7tCNq/wDvuxKx3GFuBYUBV7RclNA== X-Received: by 2002:adf:906a:: with SMTP id h97mr19135236wrh.220.1633420252688; Tue, 05 Oct 2021 00:50:52 -0700 (PDT) Received: from google.com ([95.148.6.175]) by smtp.gmail.com with ESMTPSA id e5sm16707940wrd.1.2021.10.05.00.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 00:50:52 -0700 (PDT) Date: Tue, 5 Oct 2021 08:50:50 +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 RESEND] mfd: hi6421-spmi-pmic: cleanup drvdata Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog