[PATCH] Input: mt6779-keypad: Move iomem pointer to probe function
Dmitry Torokhov
dmitry.torokhov at gmail.com
Fri Apr 8 18:33:15 PDT 2022
On Wed, Apr 06, 2022 at 01:56:54PM +0200, AngeloGioacchino Del Regno wrote:
> The mmio base address is used for the only purpose of initializing
> regmap for this driver, hence it's not necessary to have it in the
> main driver structure, as it is used only in the probe() callback.
> Move it local to function mt6779_keypad_pdrv_probe().
>
> This commit brings no functional changes.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
Applied, thank you.
--
Dmitry
More information about the Linux-mediatek
mailing list