Re: [PATCH 1/5] pinctrl: mediatek: paris: Unify probe function by using OF match data
From: Chen-Yu Tsai <wenst@chromium.org>
Date: 2022-02-21 04:24:15
Also in:
linux-gpio, linux-mediatek, lkml
From: Chen-Yu Tsai <wenst@chromium.org>
Date: 2022-02-21 04:24:15
Also in:
linux-gpio, linux-mediatek, lkml
On Thu, Feb 10, 2022 at 10:20 PM AngeloGioacchino Del Regno [off-list ref] wrote:
All of the SoCs using Paris pinctrl are defining a custom probe function that is simply calling mtk_paris_pinctrl_probe() passing a pointer to the SoC specific mtk_pin_soc structure and nothing else. Simplify the probe mechanism across all pinctrl drivers that are using pinctrl-paris by passing the specific mtk_pin_soc as match data and using function mtk_paris_pinctrl_probe as a common probe function for all of them. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel