Re: [PATCH] Input: mt6779-keypad: Move iomem pointer to probe function
From: Dmitry Torokhov
Date: Fri Apr 08 2022 - 21:33:24 EST
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@xxxxxxxxxxxxx>
Applied, thank you.
--
Dmitry