[PATCH 09/14] mtd: nand: sunxi: simplify optional reset handling

Philipp Zabel p.zabel at pengutronix.de
Tue Jan 31 09:21:58 PST 2017


On Mon, 2017-01-30 at 13:44 +0100, Boris Brezillon wrote:
> Hi Philipp,
> 
> On Mon, 30 Jan 2017 12:41:11 +0100
> Philipp Zabel <p.zabel at pengutronix.de> wrote:
> 
> > As of commit bb475230b8e5 ("reset: make optional functions really
> > optional"), the reset framework API calls use NULL pointers to describe
> > optional, non-present reset controls.
> > 
> > This allows to return errors from devm_reset_control_get_optional and to
> > call reset_control_(de)assert unconditionally.
> > 
> > Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> > Cc: Icenowy Zheng <icenowy at aosc.xyz>
> > Cc: Maxime Ripard <maxime.ripard at free-electrons.com>
> > Cc: Boris Brezillon <boris.brezillon at free-electrons.com>
> 
> I didn't find commit bb475230b8e5 in mainline, so I guess you plan to
> take this patch in your own tree. Let me know if this is not the case.
> 
> Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Thanks, I plan to resend this once bb475230b8e5 hits mainline, for you
to merge.

regards
Philipp




More information about the linux-arm-kernel mailing list