From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Jarzmik Subject: Re: [PATCH 1/2] media: mt9m111: add device-tree suppport Date: Thu, 19 Jun 2014 21:15:22 +0200 Message-ID: <877g4csoc5.fsf@free.fr> References: <1402863452-30365-1-git-send-email-robert.jarzmik@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: (Guennadi Liakhovetski's message of "Thu, 19 Jun 2014 09:36:48 +0200 (CEST)") Sender: linux-media-owner@vger.kernel.org To: Guennadi Liakhovetski Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org List-Id: devicetree@vger.kernel.org Guennadi Liakhovetski writes: > Hi Robert, >> +static int of_get_mt9m111_platform_data(struct device *dev, >> + struct soc_camera_subdev_desc *desc) >> +{ >> + return 0; >> +} > > Why do you need this function? I would just drop it. Yeah, drop it sounds good. I wrote it at the beginning to have a clear structure, and then didn't use it. >> +static const struct of_device_id mt9m111_of_match[] = { >> + { .compatible = "micron,mt9m111", }, > > Not a flaw in this patch, but someone might want to add "micron" to > Documentation/devicetree/bindings/vendor-prefixes.txt OK, I'll see what I can submit, it should be doable :) Cheers. -- Robert