From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752707AbcGONYf (ORCPT ); Fri, 15 Jul 2016 09:24:35 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:3332 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752223AbcGONYd (ORCPT ); Fri, 15 Jul 2016 09:24:33 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Fri, 15 Jul 2016 06:22:27 -0700 Message-ID: <5788E093.7080405@nvidia.com> Date: Fri, 15 Jul 2016 18:39:39 +0530 From: Laxman Dewangan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Lee Jones , , CC: , Subject: Re: [PATCH 1/3] mfd: Provide MACRO to declare commonly defined MFD cell attributes References: <20160713112651.14539-1-lee.jones@linaro.org> <20160713112651.14539-2-lee.jones@linaro.org> In-Reply-To: <20160713112651.14539-2-lee.jones@linaro.org> X-Originating-IP: [10.19.65.30] X-ClientProxiedBy: DRHKMAIL102.nvidia.com (10.25.59.16) To bgmail102.nvidia.com (10.25.59.11) Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 13 July 2016 04:56 PM, Lee Jones wrote: > Cc: Laxman Dewangan > Signed-off-by: Lee Jones > --- > include/linux/mfd/core.h | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h > index 99c0395..c6018f4 100644 > --- a/include/linux/mfd/core.h > +++ b/include/linux/mfd/core.h > @@ -16,6 +16,35 @@ > > #include > +#define MFD_CELL_BASIC(_name, _res, _pdata, _pdsize, _id) \ > + MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, NULL, NULL) \ > + > +#define MFD_CELL_RES(_name, _res) \ > + MFD_CELL_ALL(_name, _res, _pdata, 0, 0, NULL, NULL) \ > + Here _pdata should not be used. Instead it should be NULL. I corrected it locally and then compiled and teste. Once above fixed, you can take my ack and tested by Acked-by: Laxman Dewangan Tested-by: Laxman Dewangan