Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1481489 > unrolled thread

Re: [PATCH] video: mxsfb: get supply regulator optionally

Started byRob Herring <robh@kernel.org>
First post2016-09-12 17:50 +0200
Last post2016-09-12 17:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] video: mxsfb: get supply regulator optionally Rob Herring <robh@kernel.org> - 2016-09-12 17:50 +0200

#1481489 — Re: [PATCH] video: mxsfb: get supply regulator optionally

FromRob Herring <robh@kernel.org>
Date2016-09-12 17:50 +0200
SubjectRe: [PATCH] video: mxsfb: get supply regulator optionally
Message-ID<sgBEC-5cu-33@gated-at.bofh.it>
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 <stefan@agner.ch>
> ---
>  Documentation/devicetree/bindings/display/mxsfb.txt | 3 +++

Acked-by: Rob Herring <robh@kernel.org>

>  drivers/video/fbdev/mxsfb.c                         | 2 +-
>  2 files changed, 4 insertions(+), 1 deletion(-)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web