Re: [PATCH 14/14] ASoC: sunxi: simplify optional reset handling

From: Chen-Yu Tsai
Date: Mon Jan 30 2017 - 22:50:55 EST

On Mon, Jan 30, 2017 at 7:41 PM, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> 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_deassert unconditionally.
> Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
> Cc: Marcus Cooper <codekipper@xxxxxxxxx>
> Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> Cc: Chen-Yu Tsai <wens@xxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>


Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>