Re: [PATCH v2 04/10] soc: sunxi: sram: Prevent the driver from being unbound
From: Heiko Stübner <heiko@sntech.de>
Date: 2022-08-15 14:00:25
Also in:
linux-arm-kernel, linux-sunxi, lkml
From: Heiko Stübner <heiko@sntech.de>
Date: 2022-08-15 14:00:25
Also in:
linux-arm-kernel, linux-sunxi, lkml
Am Montag, 15. August 2022, 06:12:41 CEST schrieb Samuel Holland:
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")
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>Reviewed-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Heiko Stuebner <heiko@sntech.de>