aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-01-23 17:08:47 +0000
committerKrzysztof Kozlowski <[email protected]>2024-01-23 21:38:16 +0000
commitf0b203bf9bbc89d3230d6a3d6254d11f7a4b6064 (patch)
treed2b517697b9c84350037795a2ecb7564f9b37d48 /fs/btrfs/dev-replace.c
parentmemory: emif: Simplify code handling CONFIG_OF (diff)
downloadkernel-f0b203bf9bbc89d3230d6a3d6254d11f7a4b6064.tar.gz
kernel-f0b203bf9bbc89d3230d6a3d6254d11f7a4b6064.zip
memory: emif: Drop usage of platform_driver_probe()
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions