From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2DEA173 for ; Wed, 21 Jul 2021 09:25:49 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id E87DF60231; Wed, 21 Jul 2021 09:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626859549; bh=yOJ5z3dKNV3+QchjXIKT3u7IgTGFQKf/v3HEvGwojAg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MFNEJy6+0KDma+GVnPxoqHG/SyR6bZYdr9N5GCoasKKLZ+3ZRPnrhd7YAq4qBl9dj yA2/lEXl51QkqvB9u9xzEv/IWu1qDifBaCmFAyodadwkTn9nTK9WabCUlfoC4ae/ua MGg6tEJI1ZgD931V/EOFH/GTajj7ZchxM5NWUdpM= Date: Wed, 21 Jul 2021 11:25:47 +0200 From: Greg Kroah-Hartman To: Mauro Carvalho Chehab Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Arnd Bergmann , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH v14 5/9] staging: hi6421-spmi-pmic: cleanup drvdata Message-ID: References: <723edefbb2e9ce0b70d9c7bce95f288e3ea1f5b1.1626515862.git.mchehab+huawei@kernel.org> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <723edefbb2e9ce0b70d9c7bce95f288e3ea1f5b1.1626515862.git.mchehab+huawei@kernel.org> On Sat, Jul 17, 2021 at 11:58:16AM +0200, 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. > > While here, add a missing dot at the Huawei's copyrights. > > Acked-by: Mark Brown > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/misc/hi6421v600-irq.c | 9 ++++---- > drivers/regulator/hi6421v600-regulator.c | 10 ++++----- > drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 16 +++++-------- > 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 This patch fails to apply to my 5.14-rc2 tree, it gets a failure in the regulator portion of the patch. thanks, greg k-h