From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH v3 1/3] omap3isp: Drop redundant isp->subdevs field and ISP_MAX_SUBDEVS Date: Tue, 22 Aug 2017 15:30:22 +0300 Message-ID: <3810750.ISKOUEcbCg@avalon> References: <20170818112317.30933-1-sakari.ailus@linux.intel.com> <20170818112317.30933-2-sakari.ailus@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <20170818112317.30933-2-sakari.ailus@linux.intel.com> Sender: linux-media-owner@vger.kernel.org To: Sakari Ailus Cc: linux-media@vger.kernel.org, niklas.soderlund@ragnatech.se, robh@kernel.org, hverkuil@xs4all.nl, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi Sakari, Thank you for the patch. On Friday, 18 August 2017 14:23:15 EEST Sakari Ailus wrote: > struct omap3isp.subdevs field and ISP_MAX_SUBDEVS macro are both unused. > Remove them. > > Signed-off-by: Sakari Ailus The field and macro are still used, you only remove them in patch 2/3. You can squash 1/3 and 2/3 together. > --- > drivers/media/platform/omap3isp/isp.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/media/platform/omap3isp/isp.h > b/drivers/media/platform/omap3isp/isp.h index e528df6efc09..848cd96b67ca > 100644 > --- a/drivers/media/platform/omap3isp/isp.h > +++ b/drivers/media/platform/omap3isp/isp.h > @@ -220,9 +220,6 @@ struct isp_device { > > unsigned int sbl_resources; > unsigned int subclk_resources; > - > -#define ISP_MAX_SUBDEVS 8 > - struct v4l2_subdev *subdevs[ISP_MAX_SUBDEVS]; > }; > > struct isp_async_subdev { -- Regards, Laurent Pinchart