From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755329AbcILPr3 (ORCPT ); Mon, 12 Sep 2016 11:47:29 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:35380 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754123AbcILPrW (ORCPT ); Mon, 12 Sep 2016 11:47:22 -0400 Date: Mon, 12 Sep 2016 10:47:20 -0500 From: Rob Herring To: Stefan Agner Cc: plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] video: mxsfb: get supply regulator optionally Message-ID: <20160912154720.GA31424@rob-hp-laptop> References: <20160904042627.30182-1-stefan@agner.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160904042627.30182-1-stefan@agner.ch> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 03, 2016 at 09:26:27PM -0700, Stefan Agner wrote: > The lcd-supply is meant to be optional, there are several device- > trees not specifying it and the code handles error values silently. > Therefor, avoid creating a dummy regulator (and the associated > warning) by using devm_regulator_get_optional. > > While at it, document that fact also in the device-tree bindings. > > Signed-off-by: Stefan Agner > --- > Documentation/devicetree/bindings/display/mxsfb.txt | 3 +++ Acked-by: Rob Herring > drivers/video/fbdev/mxsfb.c | 2 +- > 2 files changed, 4 insertions(+), 1 deletion(-)