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

Chen-Yu Tsai wens at csie.org
Mon Jan 30 19:50:32 PST 2017


On Mon, Jan 30, 2017 at 7:41 PM, 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: Maxime Ripard <maxime.ripard at free-electrons.com>
> Cc: Chen-Yu Tsai <wens at csie.org>
> Cc: Ulf Hansson <ulf.hansson at linaro.org>

FWIW,

Acked-by: Chen-Yu Tsai <wens at csie.org>



More information about the linux-arm-kernel mailing list