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

From: Chen-Yu Tsai
Date: Mon Jan 30 2017 - 22:51:10 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_(de)assert unconditionally.
> Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
> Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> Cc: Chen-Yu Tsai <wens@xxxxxxxx>
> Cc: Ulf Hansson <ulf.hansson@xxxxxxxxxx>


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