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

From
Rob Herring <robh@kernel.org>
Date
2016-09-12 15:47:29
Also in
linux-devicetree, lkml
Reply to
Stefan Agner, 2016-09-04
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(-)
Thread (8 messages) 8 messages, 4 authors, last reply 2016-11-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help