[PATCH 4/5] pinctrl: mediatek: common-v1: Commonize spec_pupd callback

Chen-Yu Tsai wenst at chromium.org
Mon Feb 21 01:57:28 PST 2022


On Thu, Feb 10, 2022 at 10:20 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno at collabora.com> wrote:
>
> Reduce code size and duplication by using a common spec_pupd callback,
> which is possible to use on all of the pinctrl drivers that are
> using the v1 pinctrl-mtk-common code, with the exception of mt8135,
> which has a different handling compared to the others.
> Since the callback function signature was changed, this had to be
> propagated to pinctrl-mt8135's spec_pull_set().
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>



More information about the Linux-mediatek mailing list