Re: [PATCH 3/9] soc: sunxi: sram: Prevent the driver from being unbound
From: Jernej Škrabec <jernej.skrabec@gmail.com>
Date: 2022-08-14 10:27:06
Also in:
linux-arm-kernel, linux-sunxi, lkml
From: Jernej Škrabec <jernej.skrabec@gmail.com>
Date: 2022-08-14 10:27:06
Also in:
linux-arm-kernel, linux-sunxi, lkml
Dne ponedeljek, 01. avgust 2022 ob 05:05:03 CEST je Samuel Holland napisal(a):
This driver exports a regmap tied to the platform device (as opposed to
a syscon, which exports a regmap tied to the OF node). Because of this,
the driver can never be unbound, as that would destroy the regmap. Use
builtin_platform_driver_probe() to enforce this limitation.
Fixes: 5828729bebbb ("soc: sunxi: export a regmap for EMAC clock reg on
A64") Signed-off-by: Samuel Holland [off-list ref]Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Best regards, Jernej