Re: [PATCH 3/3] memory: emif: Drop usage of platform_driver_probe()

From: Krzysztof Kozlowski
Date: Tue Jan 23 2024 - 10:17:44 EST


On 17/12/2023 20:31, Uwe Kleine-König wrote:
> There are considerations to drop platform_driver_probe() as a concept
> that isn't relevant any more today. It comes with an added complexity
> that makes many users hold it wrong. (E.g. this driver should have
> better used __init instead of __init_or_module to mark functions only
> relevant to .probe() and mark the driver struct with __refdata.)
>
> This fixes a W=1 build warning:
>
> WARNING: modpost: drivers/memory/emif: section mismatch in reference: emif_driver+0x4 (section: .data) -> emif_remove (section: .exit.text)
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
> drivers/memory/emif.c | 23 ++++++++++++-----------

I applied #1 and #2. This does not apply. Please rebase and resend.

Best regards,
Krzysztof